Closed
Conversation
…ing back to coral mode
…have a coral and will wait until switching to coral mode to do a quickhand off
Contributor
Author
|
needs testing |
markpete
reviewed
Sep 19, 2025
| getAlgaeIntakeCommand(), | ||
| Commands.deferredProxy( | ||
| () -> { | ||
| if (sensors.armSensor != null |
Contributor
There was a problem hiding this comment.
Are we doing the right thing in these cases where .armSensor == null? I get that we don't want to dereference sensors.armSensor, but is the else {} case the correct result or should it fall out of the behaviors with an error.
Contributor
There was a problem hiding this comment.
Same question broadly across this PR in multiple places.
markpete
reviewed
Sep 19, 2025
…o SoloController
markpete
reviewed
Sep 26, 2025
| ScoringMode currentMode = scoringMode.get(); | ||
| if (currentMode == ScoringMode.ALGAE) { | ||
| SoloScoringMode currentMode = scoringMode.get(); | ||
| if (currentMode == SoloScoringMode.ALGAE_IN_CLAW) { |
Contributor
There was a problem hiding this comment.
Change to a switch() for readability.
markpete
reviewed
Sep 26, 2025
| if (groundSpinny == null || groundArm == null) { | ||
| return Commands.none().withName("ground intake manual disabled"); | ||
| } else { | ||
| BooleanSupplier clawFull = armSensor != null ? armSensor.inClaw() : () -> false; |
Contributor
There was a problem hiding this comment.
Do you want to log if armSensor is null to ease debugging at an event?
Contributor
Author
|
After further review I don’t think this is gonna work but will be tested on 09/29. |
Contributor
|
supacycle has fallen 😔 |
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.
supercycling