mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-16 11:03:24 +08:00
Proper name for closed loop control
This should be AXIS_STATE_CLOSED_LOOP_CONTROL
This commit is contained in:
@@ -178,7 +178,7 @@ Let's get motor 0 up and running. The procedure for motor 1 is exactly the same,
|
||||
</div></details>
|
||||
|
||||
<!--1. Type `odrv0.axis0.motor.config.pre_calibrated = True` <kbd>Enter</kbd> and then `odrv0.save_configuration()` <kbd>Enter</kbd>. This will save all the configuration and calibration you just did so the next time you start the device it's already ready to go. Except for one thing: you need to run the encoder offset calibration after every power cycle. -->
|
||||
2. Type `odrv0.axis0.requested_state = AXIS_STATE_CLOSED_CONTROL_LOOP` <kbd>Enter</kbd>. From now on the ODrive will try to hold the motor's position. If you try to turn it by hand, it will fight you gently. That is unless you bump up `odrv0.axis0.motor.config.current_lim`, in which case it will fight you more fiercely.
|
||||
2. Type `odrv0.axis0.requested_state = AXIS_STATE_CLOSED_LOOP_CONTROL` <kbd>Enter</kbd>. From now on the ODrive will try to hold the motor's position. If you try to turn it by hand, it will fight you gently. That is unless you bump up `odrv0.axis0.motor.config.current_lim`, in which case it will fight you more fiercely.
|
||||
|
||||
## What's next?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user