mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[examples] Remove negative of ArcadeDrive(fwd, ..) in the C++ Getting Started Example (#3102)
This commit is contained in:
@@ -25,7 +25,7 @@ class Robot : public frc::TimedRobot {
|
||||
// Drive for 2 seconds
|
||||
if (m_timer.Get() < 2.0) {
|
||||
// Drive forwards half speed
|
||||
m_robotDrive.ArcadeDrive(-0.5, 0.0);
|
||||
m_robotDrive.ArcadeDrive(0.5, 0.0);
|
||||
} else {
|
||||
// Stop robot
|
||||
m_robotDrive.ArcadeDrive(0.0, 0.0);
|
||||
|
||||
Reference in New Issue
Block a user