Stop function in python

General discussion of using Roboclaw motor controllers
Post Reply
tommaso
Posts: 1
Joined: Wed Jun 10, 2020 7:23 am

Stop function in python

Post by tommaso » Wed Jun 10, 2020 7:33 am

I'm using the Python API to control RoboClaw 2x7A Motor Controller.
I couldn't find a function which stop the motors as the button "STOP ALL" does in the Motion Studio interface.
Closing the serial communication doesn't seem to actually stop the motors drive (judging by the status LED, both LED STAT1 and STAT2 remain on).
Is there any function available?

Thank you
Tommaso

User avatar
Basicmicro Support
Posts: 1387
Joined: Thu Feb 26, 2015 9:45 pm

Re: Stop function in python

Post by Basicmicro Support » Wed Jun 10, 2020 8:02 am

Stop All in Motion Studio is just a MixedDuty command with it set to 0 for 0.

Post Reply