I'm using the ODrive node in an application where I want to set the watchdog timeout to something around 100ms. But no matter how quickly I send control messages the axis state gets set back to IDLE. I'm currently sending control messages at 100Hz and the timeout is set to 0.1s. The only way I can prevent the ODrive from leaving the CLOSED_LOOP_CONTROL state is by setting the watchdog timeout to something larger than 1.0s. Anything lower than 1.0s and for some reason the watchdog does not stay fed even if I'm sending control messages at 100Hz. Not sure if this is a related issue but I'm suspicious it may be. When I continuously send control messages and then set the requested axis state to CLOSED_LOOP_CONTROL the odrive node will print many "Failed to send CAN frame" messages. I can kind of fix this by setting the QoS for the control message subscriber to only keep the last message instead of keeping all the messages as it is written right now. But this does not fix the watchdog issue and I'm not totally sure the implications of modifying the message queue length.
I'm using the ODrive node in an application where I want to set the watchdog timeout to something around 100ms. But no matter how quickly I send control messages the axis state gets set back to IDLE. I'm currently sending control messages at 100Hz and the timeout is set to 0.1s. The only way I can prevent the ODrive from leaving the CLOSED_LOOP_CONTROL state is by setting the watchdog timeout to something larger than 1.0s. Anything lower than 1.0s and for some reason the watchdog does not stay fed even if I'm sending control messages at 100Hz. Not sure if this is a related issue but I'm suspicious it may be. When I continuously send control messages and then set the requested axis state to CLOSED_LOOP_CONTROL the odrive node will print many "Failed to send CAN frame" messages. I can kind of fix this by setting the QoS for the control message subscriber to only keep the last message instead of keeping all the messages as it is written right now. But this does not fix the watchdog issue and I'm not totally sure the implications of modifying the message queue length.