Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Commit

Permalink
amendment to prev
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGamer1002 committed Mar 28, 2023
1 parent 0865843 commit eee0e1b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ public class RobotContainer {
private final MoveArmYCommand m_MoveArmYCommand = new MoveArmYCommand(m_Arm);
private final DriveCommand m_DriveCommand = new DriveCommand(m_Tank);
private final BalanceCommand m_BalanceCommand = new BalanceCommand(m_PID, m_Tank);
private final AutoCommand m_AutoCommand = new AutoCommand(m_PID, m_Tank, m_Claw, m_Arm);
private final AutoCommand m_AutoCommand = new AutoCommand(m_PID, m_Tank, m_Arm, m_Claw);
private final InvertDriveCommand m_InvertDriveCommand = new InvertDriveCommand(m_Tank, this);
private final PlaceConeSecondLevelCommand m_PlaceConeSecondLevelCommand =
new PlaceConeSecondLevelCommand(m_Tank, m_Arm, m_claw);
new PlaceConeSecondLevelCommand(m_Tank, m_Arm, m_Claw);
private final IncreaseMaxSpeedCommand m_IncreaseMaxSpeedCommand =
new IncreaseMaxSpeedCommand(m_Tank);
private final DecreaseMaxSpeedCommand m_DecreaseMaxSpeedCommand =
Expand Down Expand Up @@ -119,9 +119,9 @@ public static double getDriverControllerLeftStickY() {
public static double getDriverControllerLeftStickYAdjusted() {
double val = getDriverControllerLeftStickY();
if (val > 0) {
return (val * val + 0.6) / 1.6;
return (val * val + 0.3) / 1.3;
} else if (val < 0) {
return -(val * val + 0.6) / 1.6;
return -(val * val + 0.3) / 1.3;
} else {
return 0;
}
Expand All @@ -138,9 +138,9 @@ public static double getDriverControllerRightStickX() {
public static double getDriverControllerRightStickXAdjusted() {
double val = getDriverControllerRightStickX();
if (val > 0) {
return (val * val + 0.6) / 1.6;
return (val * val + 0.3) / 1.3;
} else if (val < 0) {
return -(val * val + 0.6) / 1.6;
return -(val * val + 0.3) / 1.3;
} else {
return 0;
}
Expand Down

0 comments on commit eee0e1b

Please sign in to comment.