Skip to content

Commit

Permalink
removed quadratic scaling on drive rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgrammingSR committed Mar 23, 2024
1 parent e44f2a9 commit 9b53ead
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,13 @@ public RobotContainer() {
* IOConstants.kSlowModeScalar),
// * 0.8,
MathUtil.applyDeadband(
-m_driverController.getRightX() * Math.abs(m_driverController.getRightX()),
-m_driverController.getRightX(),
IOConstants.kControllerDeadband)
* DriveConstants.kMaxAngularSpeedRadiansPerSecond
* (1 - m_driverController
.getRightTriggerAxis()
* IOConstants.kSlowModeScalar)
* 0.75,
* 0.8,
!m_driverController.getLeftBumper()),
m_robotDrive));
}
Expand Down

0 comments on commit 9b53ead

Please sign in to comment.