Thread: PLEASE HELP!!!
View Single Post
  #5   Spotlight this post!  
Unread 03-10-2015, 03:17 AM
chloe's Avatar
chloe chloe is offline
human
FRC #1868 (Space Cookies)
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2013
Location: United States
Posts: 17
chloe is an unknown quantity at this point
Re: PLEASE HELP!!!

Have you read WPILib's screensteps live? http://wpilib.screenstepslive.com/s/...g-a-base-class

If your base class is IterativeRobot, you will write your autonomous in

public void autonomousInit() {
// called when you enter autonomous
}

public void autonomousPeriodic() {
// called every loop through your code
}

If you know how to write teleop code, it is a simple matter to transfer that to autonomous.


For command-based robot, read the guide here: http://wpilib.screenstepslive.com/s/...onomous-period
Reply With Quote