[examples] MecanumDrive: Fix axis comment in C++ example (NFC) (#5096)

This commit is contained in:
sciencewhiz
2023-02-13 22:18:23 -08:00
committed by GitHub
parent 49af88f2bb
commit 804e5ce236

View File

@@ -21,7 +21,7 @@ class Robot : public frc::TimedRobot {
}
void TeleopPeriodic() override {
/* Use the joystick X axis for forward movement, Y axis for lateral
/* Use the joystick Y axis for forward movement, X axis for lateral
* movement, and Z axis for rotation.
*/
m_robotDrive.DriveCartesian(-m_stick.GetY(), -m_stick.GetX(),