Failed sending motors off command

Any ideas why I'm getting this error ?

Code :-

# Setup the library ready for use
import PicoBorgRev as pbr
import time
pbr0 = pbr.PicoBorgRev()
-
-
-
# Turn the motor off after moving
pbr0.MotorsOff()

piborg's picture

It is hard to be sure without seeing more of the script or the messages displayed when running it.

I would suggest the most likely culprit is forgetting to call the Init function on the pbr0 object.
If you have not already it would be a good idea to call ResetEpo as well.

This would give the following initialisation code:

# Setup the library ready for use
import PicoBorgRev as pbr
import time
pbr0 = pbr.PicoBorgRev()
pbr0.Init()
pbr0.ResetEpo()
Subscribe to Comments for "Failed sending motors off command"