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