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

Commit

Permalink
spotless ....
Browse files Browse the repository at this point in the history
  • Loading branch information
jack60612 committed Jan 23, 2024
1 parent a8ee0cd commit 02c41a7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ private void initializeAutonomous() {
// NamedCommands.registerCommand("A", new PathFollowingCommand(m_driveSubsystem,
// pathGroup.get(0)));
NamedCommands.registerCommand("BalanceRobot", m_balanceCommand);
NamedCommands.registerCommand("BrakeCommand", new InstantCommand(() -> m_driveSubsystem.SetBrakemode()));
NamedCommands.registerCommand(
"BrakeCommand", new InstantCommand(() -> m_driveSubsystem.SetBrakemode()));

// autoBuilder =
// new RamseteAutoBuilder(
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/commands/AimCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void execute() {
Units.degreesToRadians(CamResult.getBestTarget().getPitch()))
- m_cameraSubsystem.frontCameraGoalRangeMeters;
// turn and move towards target.
//m_driveSubsystem.driveAndTurn(m_driveSubsystem.getYaw(), angleGoal, distanceFromTarget);
// m_driveSubsystem.driveAndTurn(m_driveSubsystem.getYaw(), angleGoal, distanceFromTarget);
// we reset the angle everytime as the target could change / move.
m_driveSubsystem.turnSetGoal(angleGoal);
} else {
Expand Down
1 change: 0 additions & 1 deletion src/main/java/frc/robot/subsystems/DriveSubsystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,6 @@ public void driveToRelativePosition(double targetPosition) {
}
}


// these next 4 functions are for turning a set radius while using the gyro.
public void turnResetPID() {
/** This should be run when stopping a pid command. */
Expand Down

0 comments on commit 02c41a7

Please sign in to comment.