Skip to content

Commit 25e1f60

Browse files
Update commands.md
need to set motor.config.direction to something other than 0 (0 is the default, maybe change?) or state wont change to AXIS_STATE_SENSORLESS_CONTROL.
1 parent 6854e80 commit 25e1f60

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/commands.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ odrv0.axis0.controller.config.vel_gain = 0.01
121121
odrv0.axis0.controller.config.vel_integrator_gain = 0.05
122122
odrv0.axis0.controller.config.control_mode = 2
123123
odrv0.axis0.controller.vel_setpoint = 400
124+
odrv0.axis0.motor.config.direction = 1
124125
odrv0.axis0.sensorless_estimator.config.pm_flux_linkage = 5.51328895422 / (<pole pairs> * <motor kv>)
125126
```
126127

0 commit comments

Comments
 (0)