[examples] Update all examples to use NWU coordinate conventions (#4725)

This commit is contained in:
Ryan Blue
2022-11-28 16:49:49 -05:00
committed by GitHub
parent cb38bacfe8
commit 2b2aa8eef7
40 changed files with 55 additions and 56 deletions

View File

@@ -25,8 +25,8 @@ void RapidReactCommandBot::ConfigureBindings() {
// Control the drive with split-stick arcade controls
m_drive.SetDefaultCommand(m_drive.ArcadeDriveCommand(
[this] { return m_driverController.GetLeftY(); },
[this] { return m_driverController.GetRightX(); }));
[this] { return -m_driverController.GetLeftY(); },
[this] { return -m_driverController.GetRightX(); }));
// Deploy the intake with the X button
m_driverController.X().OnTrue(m_intake.IntakeCommand());