Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/shooter dynamic error ranges #124

Merged
merged 10 commits into from
Feb 24, 2024

Conversation

JohnGilb
Copy link
Contributor

Why are we doing this?

The shooter wheels can take a long time to get up to speed - and we probably don't need full power for SUBWOOFER or AMP shots.
Asana task URL:

Whats changing?

When the arm is all the way down, or raised high up, we accept a larger RPM error.

Questions/notes for reviewers

How this was tested

  • unit tests added
  • tested on robot

@JohnGilb JohnGilb requested a review from a team as a code owner February 24, 2024 03:00
@@ -315,7 +315,7 @@ public void setupAdvancedOperatorCommands(
oi.operatorGamepadAdvanced.getXboxButton(XboxButton.Y).whileTrue(prepareToFireAtAmp);
oi.operatorGamepadAdvanced.getXboxButton(XboxButton.A).whileTrue(continuouslyPrepareToFireAtSpeaker);

oi.operatorGamepadAdvanced.getXboxButton(XboxButton.RightTrigger).whileTrue(fireWhenReady);
oi.operatorGamepadAdvanced.getXboxButton(XboxButton.RightTrigger).whileTrue(fireWhenReady.repeatedly());
Copy link
Contributor

Choose a reason for hiding this comment

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

⭐ I think we might want a different version of this command that doesn't end (and just keeps shooting steadily instead), I'm a little worried the repeatedly will be confusing with the current isFinished logic and shooting for a min time

@stephenjust stephenjust merged commit fb9b565 into main Feb 24, 2024
@stephenjust stephenjust deleted the feature/ShooterDynamicErrorRanges branch February 24, 2024 19:13
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.

4 participants