EZ-Robotics / EZ-Template

Simple plug-and-play PROS template that handles drive base functions for VEX robots.
https://ez-robotics.github.io/EZ-Template/
Mozilla Public License 2.0
69 stars 27 forks source link

Add Option To Reverse The Drive #79

Closed Someone117 closed 7 months ago

Someone117 commented 9 months ago

In the Over Under season, it is often necessary to push with one side of your bot and use a catapult for another. This creates the problem with driving backwards while trying to line up the bot to use the catapult.

In all the drive functions (arcade, tank etc.) a boolean parameter should be added that reverses the drive axis so that the robot can drive “backwards” when the operator wants. This could be as easy as a line in each of the drive functions: if (reverse) fwd_stick = -fwd_stick;

ssejrog commented 7 months ago

This will be added in v3 and has been done in #80