mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Update SampleRobot template to match comments (#768)
This commit is contained in:
committed by
Peter Johnson
parent
52eba45c51
commit
0b8d3f0260
@@ -99,7 +99,7 @@ public class Robot extends SampleRobot {
|
||||
switch (autoSelected) {
|
||||
case kCustomAuto:
|
||||
m_robotDrive.setSafetyEnabled(false);
|
||||
m_robotDrive.arcadeDrive(-0.5, 1.0); // spin at half speed
|
||||
m_robotDrive.arcadeDrive(0.0, 0.5); // spin at half speed
|
||||
Timer.delay(2.0); // for 2 seconds
|
||||
m_robotDrive.arcadeDrive(0.0, 0.0); // stop robot
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user