Mechanical-Advantage / RobotCode2018

Robot code for "The Revenge of Bot-Bot"
3 stars 1 forks source link

Create variant DriveDistanceOnHeading with precision, accel, velocity as parameters #49

Closed brettbbonner closed 6 years ago

brettbbonner commented 6 years ago

For situations where it may be desirable to vary from default values, create a variant of DriveDistanceOnHeading that takes acceptable tolerance, max accel, max velocity as parameters. Set up so that if a passed parameter is 0, the default is used for that parameter.