Make two motors speed inverted in SpeedControllerGroup

Hi i want to use two motors but I need one of them to be in an equal speed but inverted , how do I use this with SpeedControllerGroup?

If you are using the DifferentialDrive class from WPILib, it has a right side inverted boolean that it uses. Set it to true.

You should be able to call setInverted on an individual speed controller even if it is in a group.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.