V3.6 -56v-Hoverboard

Hi everyone,
I am trying to config the odrive 3.6 for hoverboard motor on python. I have this error "AXIS_STATE_ENCODER_HALL_POLARITY_CALIBRATION " is not defined
Please can anyone help?

Hey @Josephcjosephc , is it possible that you have a different firmware version, and the constant AXIS_STATE_ENCODER_HALL_POLARITY_CALIBRATION was redefined to AxisState.ENCODER_HALL_POLARITY_CALIBRATION ?
You can try to use AxisState.ENCODER_HALL_POLARITY_CALIBRATION instead of AXIS_STATE_ENCODER_HALL_POLARITY_CALIBRATION

Thanks for your input. After I entered this “odrv0.axis0.requested_state = AXIS_STATE_ENCODER_OFFSET_CALIBRATION” my problem solved.

1 Like

I am glad that I could help! :+1: