Skip to content

Commit

Permalink
Revert additional errors from previous merge conflict resolution (#79)
Browse files Browse the repository at this point in the history
revert additional errors from #74 merge conflict resolution
  • Loading branch information
nlaverdure authored Feb 3, 2024
1 parent 1ec335c commit 86f3c08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public class RobotContainer {

private Autonomous m_autonomous;

// spotless:off
public RobotContainer() {

for (int i = 0; i < AutoConstants.kAutonomousModeSelectorPorts.length; i++) {
Expand All @@ -42,13 +43,13 @@ public RobotContainer() {
// m_intake.setDefaultCommand(m_intake.createStopIntakeCommand());

// Create a button on Smart Dashboard to reset the encoders.
SmartDashboard.putData(
"Align Encoders",
SmartDashboard.putData("Align Encoders",
new InstantCommand(() -> m_swerve.zeroAbsTurningEncoderOffsets()).ignoringDisable(true));

// Driver controller buttons
new JoystickButton(m_driver, OIConstants.kZorroDIn)
.onTrue(new InstantCommand(() -> m_swerve.resetHeading()).ignoringDisable(true));

// Command lowerArmCommand = m_arm.createLowerArmCommand();
// Command raiseArmCommmand = m_arm.createRaiseArmCommand();
// // Operator controller buttons
Expand All @@ -71,7 +72,6 @@ public RobotContainer() {
// .whileTrue((m_intake.createSetVoltageCommand(10.0)));
// // .onlyIf(raiseArmCommmand::isScheduled));
}

// spotless:on

/**
Expand Down

0 comments on commit 86f3c08

Please sign in to comment.