Odrivetool loss ENCODER_MODE_INCREMENTAL parameter

Hi there!
I just buy a new oDrive v3.6-56V and installed odrivetool via pip.
The board comes predefined and seems like motor is spinning and encoder are working.

The version is ODrive control utility v0.6.1.post0

When i try to odrv0.axis0.encoder.config.mode = ENCODER_MODE_INCREMENTAL
im get
NameError Traceback (most recent call last)
File :1, in <cell line: 1>()
----> 1 odrv0.axis0.encoder.config.mode = ENCODER_MODE_INCREMENTAL

NameError: name ‘ENCODER_MODE_INCREMENTAL’ is not defined

Please try EncoderMode.INCREMENTAL, or install the older odrivetool with pip install odrive==0.5.4

Thank you! Work like a charm

1 Like