Andover-Robotics / ARC-Core

This is the combined common code base for Andover Robotics Club, packaged in a library.
0 stars 9 forks source link

Allow a custom function to be run during drivetrain autonomous operations #15

Open broad-well opened 5 years ago

broad-well commented 5 years ago

Currently, the while loop that waits for a motor to reach its target position performs nothing within the loop. Needs have been raised to check for certain predicates during such movements.

Proposal: Allow an instance of Runnable to be passed into autonomous functions such as driveForwards and rotateClockwise.