Odrive Pro Configurable Watchdog

Hi,

I’m using a few O-Drive Pro’s in a system where, in the case of a disconnection, “Fail to motor pos=0.0, IDLE” is a much safer state for the motors than “Fail to Last Position, IDLE”.

From the documentation and my research, it’s clear that the built-in Odrive Watchdog functionality only supports the latter (I.e. going to IDLE with no position command).

Is there a world where the ODrive team implements a new parameter like “watchdog_pos” that can optionally be used to attempt a new “input_pos” command before going to IDLE?

(P.S. Love the product and it’s doing some really cool things for us. Thanks!)

Hi!

Glad to hear the ODrive is working out for you :slight_smile:

Yes, it only supports going to idle. But some sort of safe-stop-on-nonfatal-error is definitely something we have in our roadmap.

In the near term though, we’re adding support for user code, so you can write scripts and routines to run on the ODrive in parallel with the main ODrive firmware stack. That should let you accomplish this functionality – have some code that checks for watchdog disarm, then re-enables the axis and moves to the desired safe input_pos.