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.
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.