From 447ef47afe2ae425bde1ceb21e4bf773b4e3d35b Mon Sep 17 00:00:00 2001 From: Oskar Weigl Date: Sat, 25 May 2019 16:15:32 -0700 Subject: [PATCH] Update encoders.md --- docs/encoders.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/encoders.md b/docs/encoders.md index ee9d078a..52024808 100644 --- a/docs/encoders.md +++ b/docs/encoders.md @@ -68,7 +68,7 @@ Now try: let it loop a few times and then set: * `.requested_state = AXIS_STATE_IDLE` -Do you still have no errors? Awesome. Now set these variables: +Do you still have no errors? Awesome. Now save the calibration, you can set the below. Note that this only works if you are using an absolute encoder or the encoder index input (see "Encoder with index signal" above). * `.encoder.config.pre_calibrated = True` * `.motor.config.pre_calibrated = True ` @@ -78,7 +78,6 @@ And see if ODrive agrees that calibration worked by just running (using no "= True" ). Make sure that 'pre_calibrated' is in fact True. Also, if you have calibrated and encoder.pre_calibrated is equal to true, and you had no errors so far. Run this: -* `.encoder.config.use_index = True` * `odrv0.save_configuration()` * `odrv0.reboot()`