Python Commands


I am writing my first python program for ODrive and my hardware consists of one raspberry pi and 3 odrives. For now I have ran a program that I found in this forum where I connect the odrive with the command “my_odrive=odrive.find_any()”.

The problem is that doesn’t work for more than 1 ODrive, how can I make the program see all 3 ODrives in python commands?

Also is there a directory with ALL python commands? Those I found in forum seemed to be missing commands.

find_any() bug should be fixed in the devel branch, if you can build from source.

There’s a directory with all the ODrive API (ODrive | High performance motor control), but I’m not sure about all of the odrivetool commands.

1 Like