we recently bought two ODrive 3.6. We control them over USB with the python API. I have activated the watchdog timer feature, where I set an timeout to 0.5 seconds. Also I am feeding the watchdog timer over drive.axis0.watchdog_feed(). Everything is working fine, but when I stop my python program, the watchdog timer is triggered and the motors stop spinning. This is also fine, but if I restart my python program, the watchdog timer does not reset, even if I feed it with drive.axis0.watchdog_feed(). So it wont let me control the motors until I reboot the ODrive. Is there a function or something, that I can reset the watchdog timer? I dont want to restart the odrive each time, I restart my python program.
Also it would be great to specify the action, that is executed when the watchdog timer gets triggered. In the moment, the ODrive just disables the motors, but it would be better to stop the motors, so my robot doesnt crash into something.
I hope, someone can help me with this. Thanks in advance!