fix: remove duplicate pid_ref from DMMotorInstance
DMMotorInstance had its own pid_ref field while motor_controller already has pid_ref. Use motor_controller.pid_ref uniformly.
This commit is contained in:
@@ -57,7 +57,6 @@ typedef struct
|
||||
float mit_kp; // MIT mode KP (motor internal position gain, 0~500)
|
||||
float mit_kd; // MIT mode KD (motor internal velocity gain, 0~5)
|
||||
|
||||
float pid_ref; // reference input from application
|
||||
} DMMotorInstance;
|
||||
|
||||
/* DM motor init config */
|
||||
|
||||
Reference in New Issue
Block a user