We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 222e547 commit 26dc6e8Copy full SHA for 26dc6e8
1 file changed
examples/motion_control/open_loop_motor_control/open_loop_velocity_example/open_loop_velocity_example.ino
@@ -68,7 +68,10 @@ void setup() {
68
}
69
70
void loop() {
71
-
+
72
+ //torque control
73
+ // should be called as frequently as possible
74
+ motor.loopFOC();
75
// open loop velocity movement
76
// using motor.voltage_limit and motor.velocity_limit
77
// to turn the motor "backwards", just set a negative target_velocity
0 commit comments