Go to Post You know, I have 2 big addictions in my life right now: ice cream, and FIRST. While the prior may not be great for my health, I think I'm doing just fine with FIRST. - Beth Sweet [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 15-02-2014, 14:14
1024Programming 1024Programming is offline
Registered User
FRC #1024
 
Join Date: Jan 2014
Location: Indiana
Posts: 43
1024Programming is an unknown quantity at this point
Re: Autonomous backup solution?

In CommandBase autonomous is pretty simple if you use command groups. You basically just write a list of the commands you'd like to use in the order you want to use them.

The two commands you use are:
addSequential(new Command(), timeout)
addParallel(new Command(), time out)
They each run the command for the amount of time

For Example:
addSequential(new JagsBackwards(),2);
addSequential(new JagsStop(),0);
addParallel(new UpperJagsIn(),2);
addParallel(new LowerJagsIn(),2);
etc...
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 13:24.

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