|
Re: Autonomous: addParallel
Just to make sure everything is clear.
Code:
addSequential(new ShootAndReloadBall());
addSequential(new WaitCommand(0.75));
addParallel(new IntakeFastStore());
addSequential(new DriveStraight(DRIVE_SPEED, DRIVE_TIME));
Will also have the last two commands run at the same time.
The addX() functions basically apply to handling the next command's execution order.
__________________
 Programmer - A creature known for converting Caffeine into Code.
Studying Computer Science @ Louisiana Tech University
Associate Consultant @ Fenway Group
2012-13: 3946 - Head of Programming, Electrical and Web
2014 - 3468 - Programming Mentor
2015 - Present - Lurker
|