Skip to content

made logic for shooting#45

Merged
TaylerUva merged 11 commits into
mainfrom
add-logic-for-state-shooting
May 31, 2026
Merged

made logic for shooting#45
TaylerUva merged 11 commits into
mainfrom
add-logic-for-state-shooting

Conversation

@FRCTeam3255-Shared-K1-10
Copy link
Copy Markdown
Contributor

No description provided.

Co-Authored-By: Justinpham17386769 <244249272+Justinpham17386769@users.noreply.github.com>
@FRCTeam3255-Shared-K1-10 FRCTeam3255-Shared-K1-10 requested a review from a team as a code owner May 30, 2026 21:49
Comment thread src/main/java/frc/robot/commands/states/Shooting.java
Comment thread src/main/java/frc/robot/commands/states/Shooting.java Outdated
Comment thread src/main/java/frc/robot/subsystems/Rotors.java Outdated
Co-Authored-By: Justinpham17386769 <244249272+Justinpham17386769@users.noreply.github.com>
Comment thread src/main/java/frc/robot/commands/states/Shooting.java Outdated
Comment thread src/main/java/frc/robot/commands/states/Shooting.java Outdated
Comment thread src/main/java/frc/robot/commands/states/Shooting.java Outdated
Co-Authored-By: Justinpham17386769 <244249272+Justinpham17386769@users.noreply.github.com>
Comment thread src/main/java/frc/robot/subsystems/Rotors.java Outdated
Comment thread src/main/java/frc/robot/constants/ConstRotors.java Outdated
Comment thread src/main/java/frc/robot/constants/ConstRotors.java Outdated
Comment thread src/main/java/frc/robot/constants/ConstRotors.java Outdated
Comment thread src/main/java/frc/robot/commands/states/Shooting.java Outdated
…cessary else statement

Co-Authored-By: Justinpham17386769 <244249272+Justinpham17386769@users.noreply.github.com>
Comment thread src/main/java/frc/robot/commands/states/Shooting.java Outdated
FRCTeam3255-Shared-K1-10 and others added 3 commits May 30, 2026 17:19
Co-Authored-By: Justinpham17386769 <244249272+Justinpham17386769@users.noreply.github.com>
Co-Authored-By: Justinpham17386769 <244249272+Justinpham17386769@users.noreply.github.com>
Co-Authored-By: Justinpham17386769 <244249272+Justinpham17386769@users.noreply.github.com>
Copy link
Copy Markdown
Member

@TaylerUva TaylerUva left a comment

Choose a reason for hiding this comment

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

Read your code carefully and see if anything is not necessary. Think about how "shooting" works with the rest of the robot and the statemachine.

@TaylerUva TaylerUva linked an issue May 31, 2026 that may be closed by this pull request
Co-Authored-By: Justinpham17386769 <244249272+Justinpham17386769@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR appears intended to implement/improve “shooting” behavior by introducing additional rotor/motion constants and shifting the Shooting command toward using the StateMachine.

Changes:

  • Added new rotor constants for transfer roller speed and flywheel speed tolerance.
  • Added a hood “retract” angle constant.
  • Updated Shooting command to set StateMachine state and retract the hood on end (but removed flywheel/hood shooting setup logic).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
src/main/java/frc/robot/subsystems/Rotors.java No functional change (whitespace only).
src/main/java/frc/robot/constants/ConstRotors.java Adds constants for transfer rollers speed and flywheel tolerance.
src/main/java/frc/robot/constants/ConstMotion.java Adds a hood retract angle constant.
src/main/java/frc/robot/commands/states/Shooting.java Alters shooting behavior; now sets robot state and runs feeder/transfer but no longer spins up the flywheel or sets the hood to the shooting angle.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/main/java/frc/robot/commands/states/Shooting.java
Comment thread src/main/java/frc/robot/commands/states/Shooting.java
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

Comment thread src/main/java/frc/robot/commands/states/Shooting.java
Comment thread src/main/java/frc/robot/commands/states/Shooting.java
…r rollers

Co-Authored-By: Justinpham17386769 <244249272+Justinpham17386769@users.noreply.github.com>
@TaylerUva TaylerUva merged commit 82bb3cb into main May 31, 2026
1 check passed
@TaylerUva TaylerUva deleted the add-logic-for-state-shooting branch May 31, 2026 03:34
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.

Add logic for state: Shooting

4 participants