Skip to content

Fixed some controls and add auto zone defense#137

Merged
neelabhb-sudo merged 20 commits into
mainfrom
add-driver-feedback
Mar 28, 2026
Merged

Fixed some controls and add auto zone defense#137
neelabhb-sudo merged 20 commits into
mainfrom
add-driver-feedback

Conversation

@scotch-tape

Copy link
Copy Markdown
Contributor
  • made the operator passing button left trigger
  • made the operator stop autoshoot button x
  • made the driver zero heading button left bumper
  • made lock motion use static brake instead of position control
  • made the driver abxy buttons do auto zone defense
  • once auto trench is added, driver right bumper should run it

@codeNinja-1 codeNinja-1 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work on this! There's some code that should be cleaned up a bit to make it more maintainable in the future, and a few fixes with the triggers that we might have forgotten to do earlier.

Comment thread src/main/java/com/team6962/lib/swerve/motion/LockMotion.java Outdated
Comment thread src/main/java/frc/robot/auto/AutoZoneDefense.java Outdated
Comment thread src/main/java/frc/robot/auto/AutoZoneDefense.java Outdated
Comment thread src/main/java/frc/robot/auto/AutoZoneDefense.java Outdated
Comment thread src/main/java/frc/robot/auto/AutoZoneDefense.java Outdated
Comment thread src/main/java/frc/robot/auto/AutoZoneDefense.java
Comment thread src/main/java/frc/robot/auto/FieldPositions.java Outdated
Comment thread src/main/java/frc/robot/controls/TeleopControls.java
Comment thread src/main/java/frc/robot/controls/TeleopControls.java Outdated
Comment thread src/main/java/frc/robot/controls/TeleopControls.java Outdated
scotch-tape and others added 7 commits March 20, 2026 22:16
Removed commented out imports, and applied spotless
…both autoshootTrigger and autoPassTrigger.

Added .and(operator.a().negate()) and .and(operator.y().negate()) to both autoshootTrigger and autoPassTrigger.
@neelabhb-sudo neelabhb-sudo merged commit 2abef28 into main Mar 28, 2026
1 check passed
@neelabhb-sudo neelabhb-sudo deleted the add-driver-feedback branch March 28, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants