You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 14, 2023. It is now read-only.
In AutonDrive and AutonDriveSimple, speed is passed to the command as a double through the constructor method. I believe AutonDrive 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 to AutonDrive and AutonDriveSimple.
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.