Completed artf2675 - rename SimpleRobot -> SampleRobot.

Change-Id: I23fc503f64fa6a715867f4b92f9d03e21f6c5f82
This commit is contained in:
Colby Skeggs
2014-08-08 10:48:00 -07:00
parent 5b8279f404
commit 0f93247641
12 changed files with 100 additions and 79 deletions

View File

@@ -1,12 +1,16 @@
#include "WPILib.h"
/**
* This is a demo program showing the use of the RobotBase class.
* The SimpleRobot class is the base of a robot application that will automatically call your
* This is a demo program showing the use of the RobotDrive class.
* The SampleRobot class is the base of a robot application that will automatically call your
* Autonomous and OperatorControl methods at the right time as controlled by the switches on
* the driver station or the field controls.
*
* WARNING: While it may look like a good choice to use for your code if you're inexperienced,
* don't. Unless you know what you are doing, complex code will be much more difficult under
* this system. Use IterativeRobot or Command-Based instead if you're new.
*/
class Robot: public SimpleRobot
class Robot: public SampleRobot
{
RobotDrive myRobot; // robot drive system
Joystick stick; // only joystick
@@ -31,7 +35,7 @@ public:
}
/**
* Runs the motors with arcade steering.
* Runs the motors with arcade steering.
*/
void OperatorControl()
{
@@ -48,7 +52,6 @@ public:
*/
void Test()
{
}
};