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

Setup shooter interface #8

Merged
merged 14 commits into from
Jan 20, 2024
Merged

Setup shooter interface #8

merged 14 commits into from
Jan 20, 2024

Conversation

StewardHail3433
Copy link
Contributor

No description provided.

Copy link
Contributor

@BrownGenius BrownGenius left a comment

Choose a reason for hiding this comment

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

I don't think these methods match the functionality we need as described in the Crescendo 2024 Driver Controls document for "Basic Dev/Debug".

  • Shooter
    • On - Right Trigger Pressed
    • Off - Right Trigger Not Pressed
    • Speed Control: ShuffleBoard

How would you implement these controls from the joystick right trigger press? How about the Shuffleboard GUI control for the speed?

@ParkerMeyers
Copy link

Make sure to run spotless apply after your changes :)

Copy link

@ParkerMeyers ParkerMeyers left a comment

Choose a reason for hiding this comment

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

Mostly the same comments as @BrownGenius , just make sure not to use arbitrary numbers and try to seperate the hardware and software. (We are not using sparks)

BrownGenius
BrownGenius previously approved these changes Jan 18, 2024
Copy link
Contributor

@BrownGenius BrownGenius left a comment

Choose a reason for hiding this comment

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

If you've already verified the logic using simulation, I'm ok with pulling this change in. All of my comments are suggestions and ways to clean up the code.

src/main/java/frc/robot/RobotContainer.java Outdated Show resolved Hide resolved
src/main/java/frc/robot/commands/ShooterBaseCommand.java Outdated Show resolved Hide resolved
src/main/java/frc/robot/commands/ShooterBaseCommand.java Outdated Show resolved Hide resolved
src/main/java/frc/robot/commands/ShooterBaseCommand.java Outdated Show resolved Hide resolved
src/main/java/frc/robot/RobotContainer.java Outdated Show resolved Hide resolved
Copy link
Contributor

@BrownGenius BrownGenius left a comment

Choose a reason for hiding this comment

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

The logic looks good. Please start working on implementing the actual shooter IO implementation in ShooterIOSparkMax.java. Looks like Crescendo 2024 Main Electrical Components has been updated with most of the necessary details.

The TOP/BOTTOM CAN ID is something that the software team decides on and can re-program the SparkMax FW as needed, so, for now, you can use any values. We need to make sure all CAN IDs are unique.

BTW, in general, we put robot specific information in a Constants.java file, but not to worry about that at this point. You can see ChargedUp2023 for an example of how we used the Constants.java file.

@BrownGenius BrownGenius requested review from ParkerMeyers and removed request for ParkerMeyers January 19, 2024 01:28
@BrownGenius BrownGenius merged commit cb425ba into main Jan 20, 2024
2 checks passed
@BrownGenius BrownGenius deleted the Setup-Shooter-Interface branch January 20, 2024 13:07
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.

3 participants