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

Commit

Permalink
Fix swerve comments (NFC)
Browse files Browse the repository at this point in the history
  • Loading branch information
spacey-sooty committed Jul 9, 2024
1 parent 2d6c3f0 commit 018292e
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/main/java/frc/robot/subsystems/CommandSwerveDrivetrain.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,20 +98,18 @@ private void startSimThread() {

@Override
public void periodic() {
/* Periodically try to apply the operator perspective */
/*
* Periodically try to apply the operator perspective
*
* If we haven't applied the operator perspective before, then we should apply
* it regardless of DS state
*/
/*
*
* This allows us to correct the perspective in case the robot code restarts
* mid-match
*/
/*
*
* Otherwise, only check and apply the operator perspective if the DS is
* disabled
*/
/*
*
* This ensures driving behavior doesn't change until an explicit disable event
* occurs during testing
*/
Expand Down

0 comments on commit 018292e

Please sign in to comment.