|
2010 FRC Java API |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.microedition.midlet.MIDlet
edu.wpi.first.wpilibj.RobotBase
edu.wpi.first.wpilibj.SimpleRobot
public class SimpleRobot
A robot base class. Users can build thier program off of this by overring the autonomous and operatorControl methods.
Constructor Summary | |
---|---|
SimpleRobot()
Create a new SimpleRobot |
Method Summary | |
---|---|
void |
autonomous()
Autonomous should go here. |
void |
operatorControl()
Operator control (tele-operated) code should go here. |
void |
robotMain()
Robot main program for free-form programs. |
void |
startCompetition()
Start a competition. |
Methods inherited from class edu.wpi.first.wpilibj.RobotBase |
---|
destroyApp, free, getWatchdog, isAutonomous, isDisabled, isEnabled, isNewDataAvailable, isOperatorControl, isSystemActive, pauseApp, startApp |
Methods inherited from class javax.microedition.midlet.MIDlet |
---|
getAppProperty, notifyDestroyed, notifyPaused, resumeRequest |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleRobot()
Method Detail |
---|
public void autonomous()
public void operatorControl()
public void robotMain()
public void startCompetition()
startCompetition
in class RobotBase
|
2010 FRC Java API |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |