Skip to content

Commit

Permalink
Back to normal
Browse files Browse the repository at this point in the history
  • Loading branch information
178Laptop committed Oct 11, 2023
1 parent e9615a0 commit 4a7ab37
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ private void configureBindings() {
m_driverController.leftTrigger()
.whileTrue(
Commands.run(() -> m_drivetrain.setSpeedMult(0.2)))
.whileFalse(Commands.run(() -> m_drivetrain.setSpeedMult(0.4))); // originally 1 this is for pep rally so i dont run someone over
.whileFalse(Commands.run(() -> m_drivetrain.setSpeedMult(1)));
// m_driverController.rightTrigger()
// .whileTrue(Commands.run(() -> m_drivetrain.setSpeedMult(1)));

m_auxBox.b().onTrue(
m_arm.setPosition(ArmPosition.HOME));
Expand Down Expand Up @@ -130,9 +132,9 @@ private void configureBindings() {
m_auxBox.rightStick().onTrue(m_lights.runPurple());
m_auxBox.leftTrigger().onTrue(m_lights.runDefaultColor());

new Combo(m_auxBox.getHID())
.quarterCircleKick()
.onTrue(Autos.placeHigh(m_arm, m_claw));
// new Combo(m_auxBox.getHID())
// .quarterCircleKick()
// .onTrue(Autos.placeHigh(m_arm, m_claw));

}

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 = 0.4; // originally 1 this is for pep rally so i dont run someone over
private double m_speedMult = 1;

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

0 comments on commit 4a7ab37

Please sign in to comment.