Skip to content

Add ShooterDefaultCommand to warm up shooter to configurable RPM#414

Open
aschokking wants to merge 3 commits intomainfrom
shooter-default-command
Open

Add ShooterDefaultCommand to warm up shooter to configurable RPM#414
aschokking wants to merge 3 commits intomainfrom
shooter-default-command

Conversation

@aschokking
Copy link
Copy Markdown
Contributor

@aschokking aschokking commented Apr 10, 2026

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

  • tested on robot
  • tested in simulator
  • unit tests added

Video/screenshots (from simulator or live robot)


PR feedback legend

Symbol Meaning
⭐ ⭐ ⭐ must be addressed
⭐ ⭐ should be addressed
something to consider, a good idea

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>
@aschokking aschokking requested a review from a team April 10, 2026 18:57
Copy link
Copy Markdown
Contributor

@rokadias rokadias left a comment

Choose a reason for hiding this comment

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

LGTM

aschokking and others added 2 commits April 10, 2026 12:38
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>
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.

2 participants