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:
2026-05-30 00:36:32 +08:00
parent 075495791a
commit 3e77eed2bb
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -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 */