Check for odrives?

Is there a way to check for odrives? I have to keep resetting mine so I’d like to have the code check for an odrive and wait until it returns then continue the code

At the moment it will wait for a flat 5 seconds and 90% of the time it will return within 1 second and I am just waiting for it but the rest of the time it takes more than 5 and it freaks out because the next line can’t execute

find_any() (see demo code in tools/ in repo)

1 Like