mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[examples] Update all examples to use NWU coordinate conventions (#4725)
This commit is contained in:
@@ -19,7 +19,7 @@ void RobotContainer::ConfigureButtonBindings() {
|
||||
// Also set default commands here
|
||||
m_drive.SetDefaultCommand(TeleopArcadeDrive(
|
||||
&m_drive, [this] { return -m_controller.GetRawAxis(1); },
|
||||
[this] { return m_controller.GetRawAxis(2); }));
|
||||
[this] { return -m_controller.GetRawAxis(2); }));
|
||||
|
||||
// Example of how to use the onboard IO
|
||||
m_onboardButtonA.OnTrue(frc2::cmd::Print("Button A Pressed"))
|
||||
|
||||
Reference in New Issue
Block a user