Go to Post Team 71: So good at Strategy they already have figured out next years game before the GDC has even met. - IKE [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-02-2012, 15:26
powerrbill powerrbill is offline
Registered User
FRC #0486
 
Join Date: Jan 2012
Location: Philadelphia area
Posts: 4
powerrbill is an unknown quantity at this point
Autonomous format

Hello again, CD! Another issue over here. We have finally moved to autonomous code, but we have no idea how to implement it in command structure. We are assuming it has a different setup than it would in simple because our Autonomous command does nothing. No errors, and no function. Best of both worlds .

Long story short, any help on Command structure autonomous?
Reply With Quote
  #2   Spotlight this post!  
Unread 16-02-2012, 21:22
jordangrant jordangrant is offline
JG2012
FRC #0610 (The Coyotes)
Team Role: Alumni
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Toronto
Posts: 8
jordangrant has much to be proud ofjordangrant has much to be proud ofjordangrant has much to be proud ofjordangrant has much to be proud ofjordangrant has much to be proud ofjordangrant has much to be proud ofjordangrant has much to be proud ofjordangrant has much to be proud ofjordangrant has much to be proud ofjordangrant has much to be proud of
Re: Autonomous format

Hi there. I am not very experienced, but I think the autonomous section in the WPILib programming cookbook will be of great use to you.
Here is an example they give:
public class DriveInASquare extends CommandGroup {

public DriveInASquare() {
add(new DriveStraight(1));
add(new Turn(1));
add(new DriveStraight(1));
add(new Turn(1));
add(new DriveStraight(1));
add(new Turn(1));
add(new DriveStraight(1));
} }

What you're doing is basically creating the autonomous command schedule and specifying certain values manually. It's very possible that you already know this but I hope this helped a little bit.
Reply With Quote
Reply


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:00.

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