Quote:
Originally Posted by notmattlythgoe
Code:
addSequential(new DriveCommand(0.5));
addSequential(waitUntil(drivetrain.getDistance(), GREATER_THAN, 50));
addSequential(new DriveCommand(0));
|
How do I describe what the robot should do if the distance never exceeds 50?