Skip to content

Commit

Permalink
Fix C++ variable error
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonli0616 committed Jul 17, 2023
1 parent 92f5391 commit faa4707
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ RobotContainer::RobotContainer() {
// Multiply by max speed to map the joystick unitless inputs to
// actual units. This will map the [-1, 1] to [max speed backwards,
// max speed forwards], converting them to actual units.
m_driverController.GetLeftY() * kMaxSpeed,
m_driverController.GetLeftX() * kMaxSpeed,
m_driverController.GetRightX() * kMaxAngularSpeed, false);
m_driverController.GetLeftY() * AutoConstants::kMaxSpeed,
m_driverController.GetLeftX() * AutoConstants::kMaxSpeed,
m_driverController.GetRightX() * AutoConstants::kMaxAngularSpeed, false);
},
{&m_drive}));
}
Expand Down

0 comments on commit faa4707

Please sign in to comment.