Change variable name offset to phase_offset

The encoder documentation page has been updated to reflect the renaming of encoder.config.offset to encoder.config.phase_offset
This commit is contained in:
Aaron de los Santos
2021-06-07 15:20:01 -07:00
committed by GitHub
parent 2e7f80c427
commit 8286849e34
+1 -1
View File
@@ -20,7 +20,7 @@ In the `odrivetool`, type `<axis>.requested_state = AXIS_STATE_ENCODER_OFFSET_CA
To verify everything went well, check the following variables:
* `<axis>.error` should be 0.
* `<axis>.encoder.config.offset` - This should print a number, like -326 or 1364.
* `<axis>.encoder.config.phase_offset` - This should print a number, like -326 or 1364.
* `<axis>.encoder.config.direction` - This should print 1 or -1.
### Encoder with index signal