Every-Flavor-Robotics / motorgo-mini-driver

Driver software for the MotorGo Mini board
MIT License
2 stars 1 forks source link

Add reverse flag, automatically reverse motor from sensor direction #48

Closed SwapnilPande closed 10 months ago

SwapnilPande commented 10 months ago

This PR updates the behavior of the motorgo with regards to reversing the direction of the motors:

If not reversed, a motor (post-calibration) will always spin counter-clockwise when looking at it from the front. If reversed, the motor will always spin clockwise.

Closes #31 and closes #30

SwapnilPande commented 10 months ago

@stilsota Requesting a review form you. Could you pull the bug-31/ccw-cw-motor-direction branch and see if the motors are behaving as expected?