Go to Post Ken Leung is the most efficient sleeper I know. Standing up, at the scoring table, during the pig roast, whatever. That guy can sleep! - Paul Copioli [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 03-03-2015, 22:13
TFleig78's Avatar
TFleig78 TFleig78 is offline
Registered User
AKA: Tyler
FRC #0078 (Air Strike)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Rhode Island
Posts: 58
TFleig78 will become famous soon enoughTFleig78 will become famous soon enough
Re: Autonomous: addParallel

I believe a parallel command won't run until the sequential command above it has finished. if you want two things to happen simultaneously, make the first one parallel.

This is a snippet of our code from last year:

Code:
          addSequential(new ShootAndReloadBall());
          addSequential(new WaitCommand(0.75));
          addParallel(new IntakeFastStore());
          addParallel(new DriveStraight(DRIVE_SPEED, DRIVE_TIME));
The last two commands execute at the same time.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 18:07.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi