View Single Post
  #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