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:
@@ -22,9 +22,9 @@ RobotContainer::RobotContainer()
|
||||
frc::SmartDashboard::PutData(&m_wrist);
|
||||
frc::SmartDashboard::PutData(&m_claw);
|
||||
|
||||
m_drivetrain.SetDefaultCommand(TankDrive([this] { return m_joy.GetLeftY(); },
|
||||
[this] { return m_joy.GetRightY(); },
|
||||
m_drivetrain));
|
||||
m_drivetrain.SetDefaultCommand(
|
||||
TankDrive([this] { return -m_joy.GetLeftY(); },
|
||||
[this] { return -m_joy.GetRightY(); }, m_drivetrain));
|
||||
|
||||
// Configure the button bindings
|
||||
ConfigureButtonBindings();
|
||||
|
||||
Reference in New Issue
Block a user