This repository has been archived by the owner on Feb 14, 2023. It is now read-only.
add a functional interface to allow speed to vary with distance for auton #16
Labels
enhancement
New feature or request
In
AutonDrive
andAutonDriveSimple
, speed is passed to the command as adouble
through the constructor method. I believeAutonDrive
has an option to reduce the speed as the robot approaches the endpoint, but it’s clunky and only works so well.Try to implement a system which allows a functional interface (taking proportion of distance to the endpoint as a parameter) to be passed in instead of a
double
toAutonDrive
andAutonDriveSimple
.Make sure to talk to me before you implement this, though—I’m not quite finished with setting up all the other systems which you’ll need before adding this functionality and I’d like to talk before anyone spends time working on this.
The text was updated successfully, but these errors were encountered: