Standalone mode #331
-
My use case is pretty simple, I just need my gimbal motor to run at a fixed speed at boot. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
You should not use Gimbal mode with the M5.2, as it is perfectly capable of doing closed loop current control with Gimbal-style motors. To work with UART you would typically calibrate, (.Q), wait for it to finish, save config (.S), and then set closed loop mode (.A) and set the velocity control setpoint (e.g. .V20000). This will set velocity control mode implicitly. Please take a look here for the UART command reference: https://tinymovr.readthedocs.io/en/latest/interfaces/interfaces.html#command-reference |
Beta Was this translation helpful? Give feedback.
You should not use Gimbal mode with the M5.2, as it is perfectly capable of doing closed loop current control with Gimbal-style motors.
To work with UART you would typically calibrate, (.Q), wait for it to finish, save config (.S), and then set closed loop mode (.A) and set the velocity control setpoint (e.g. .V20000). This will set velocity control mode implicitly.
Please take a look here for the UART command reference: https://tinymovr.readthedocs.io/en/latest/interfaces/interfaces.html#command-reference