Anti-Cogging command not recognized

Hi there, i am working with 6 ODrive-S1 and 6 D5312s motors, i would like to perform Anticogging calibration on all motors for a haptic project.
I updated the firmware on the controller to most recent one “0.6.8” and followed the documentation to the best of my knowledge,
When i get to the command “odrv0.axis0.requested_state = AxisState.ANTICOGGING_CALIBRATION”
I get “Attribute error : ANTICOGGING_CALIBRATION” without further information,

Additionally, it doesn’t seem to be possible to do this through ODrive GUI website, i am doing this on the powershell command window, other commands/tuning commands work just fine,

Any help on this ?

Don’t know about ODrive-S1, but on V3 you need to call:

Thank you for the reply, i tried this early on, didn’t work

madcowswe , Nicholas_Schneider any ideas please?
Thanks in advance.

Docs for S1 anticogging here: Anticogging — ODrive Documentation 0.6.8 documentation for reference

odrv0.axis0.requested_state = AxisState.ANTICOGGING_CALIBRATION → make sure you update your odrivetool with pip install --upgrade odrive

1 Like

Exactly what i was missing,
As amazing as ever, thank you for your reply on the weekend, i wasn’t expecting a reply until Monday.