Merge "Change SampleRobot template to use 0 based PWM"

This commit is contained in:
Fred Silberberg (WPI)
2014-08-26 10:35:43 -07:00
committed by Gerrit Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ class Robot: public SampleRobot
public:
Robot() :
myRobot(1, 2), // these must be initialized in the same order
myRobot(0, 1), // these must be initialized in the same order
stick(1) // as they are declared above.
{
myRobot.SetExpiration(0.1);

View File

@@ -28,7 +28,7 @@ public class Robot extends SampleRobot {
Joystick stick;
public Robot() {
myRobot = new RobotDrive(1, 2);
myRobot = new RobotDrive(0, 1);
myRobot.setExpiration(0.1);
stick = new Joystick(1);
}