-
Notifications
You must be signed in to change notification settings - Fork 0
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
Adds scoring features #37
Conversation
The formatter for some reason won't let me ignore the button binding styles. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some first pass comments. For others trying to review this PR, there are a lot of files Github indicates as changed that aren't actually changed. I used this link to assist in the review of what was actually changed
src/main/java/frc/robot/subsystems/scoring/ScoringSubsystem.java
Outdated
Show resolved
Hide resolved
src/main/java/frc/robot/subsystems/scoring/ScoringSubsystem.java
Outdated
Show resolved
Hide resolved
src/main/java/frc/robot/subsystems/scoring/ScoringSubsystem.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only a few comments left, mostly about the banner sensor
@@ -10,14 +19,22 @@ public class ScoringSubsystem extends SubsystemBase { | |||
private final AimerIO aimerIo; | |||
private final AimerIOInputsAutoLogged aimerInputs = new AimerIOInputsAutoLogged(); | |||
|
|||
DigitalInput bannerSensor = new DigitalInput(Constants.SensorConstants.bannerPort); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line should be deleted now that it's in the IO class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only one thing left before this is ready to go imo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approved!
The merge-base changed after approval.
@jkleiber Sorry, I don't know what's happening. This seems to be an issue whenever I do a PR. Could it be the rebasing or the "re-request review" button I've been pressing? Should I just bypass it again? |
The merge-base changed after approval.
@redPlover I closed and re-opened the PR and also changed the branch protection settings per this known issue. CI seems to be working now. I think the cause is related to GitHub not handling the merge updates to branches (another reason to use rebase I guess, but this shouldn't actually be a problem) |
Thank you! |
Adds the rest of the necessary scoring features for MVA (almost)
Here's an example of the simulation with aiming and mode switching. (kP is a bit over-tuned)