Skip to content

Commit

Permalink
Slow down robot for pep rally
Browse files Browse the repository at this point in the history
oopsies i dont want to run anyone over !!!
  • Loading branch information
AaronD992 committed Oct 2, 2023
1 parent fa01d65 commit e9615a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ private void configureBindings() {
m_driverController.leftTrigger()
.whileTrue(
Commands.run(() -> m_drivetrain.setSpeedMult(0.2)))
.whileFalse(Commands.run(() -> m_drivetrain.setSpeedMult(1)));
.whileFalse(Commands.run(() -> m_drivetrain.setSpeedMult(0.4))); // originally 1 this is for pep rally so i dont run someone over

m_auxBox.b().onTrue(
m_arm.setPosition(ArmPosition.HOME));
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/subsystems/Drivetrain.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public class Drivetrain extends SubsystemBase {
private final Field2d m_field = new Field2d();
private final NetworkTable m_limelight = NetworkTableInstance.getDefault().getTable("limelight");

private double m_speedMult = 1;
private double m_speedMult = 0.4; // originally 1 this is for pep rally so i dont run someone over

/* Creates a new Drivetrain. */
public Drivetrain() {
Expand Down

0 comments on commit e9615a0

Please sign in to comment.