Add ShooterDefaultCommand to warm up shooter to configurable RPM#414
Open
aschokking wants to merge 3 commits intomainfrom
Open
Add ShooterDefaultCommand to warm up shooter to configurable RPM#414aschokking wants to merge 3 commits intomainfrom
aschokking wants to merge 3 commits intomainfrom
Conversation
Replaces ShooterStopCommand as the shooter setpoint lock default, so the shooter warms up to a tunable velocity (default 2500 RPM) when no other command is active. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adds PoseSubsystem.isInAllianceZone() to check if the robot is on its own half of the field. ShooterDefaultCommand now continuously checks position and only spins up to warm-up RPM in the alliance zone, setting target to 0 RPM otherwise to save power. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why are we doing this?
The drive team often doesn't have the shooter up to speed when they mean to shoot.
From match logs, the shooters pull ~3A each when the shooter is at 2500 RPM steady state.
Asana task URL:
Whats changing?
Replaces ShooterStopCommand as the shooter setpoint lock default, so the shooter warms up to a tunable velocity (default 2500 RPM) when no other command is active.
Questions/notes for reviewers
How this was tested
Video/screenshots (from simulator or live robot)
PR feedback legend