Skip to content

add eject hopper logic - #41

Merged
FRCTeam3255-Shared-K1-10 merged 10 commits into
mainfrom
34-add-logic-for-state-ejectinghopper
May 30, 2026
Merged

add eject hopper logic#41
FRCTeam3255-Shared-K1-10 merged 10 commits into
mainfrom
34-add-logic-for-state-ejectinghopper

Conversation

@FRCTeam3255-Shared-K1-10

Copy link
Copy Markdown
Contributor

No description provided.

Co-Authored-By: lameesnotlame <258483139+lameesnotlame@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:35
@FRCTeam3255-Shared-K1-10 FRCTeam3255-Shared-K1-10 linked an issue May 30, 2026 that may be closed by this pull request
@TaylerUva
TaylerUva requested a review from Copilot May 30, 2026 21:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 fleshes out the previously-empty EjectingHopper command so that it deploys the intake pivot and runs the intake, serializer, and transfer rollers in reverse to eject game pieces, adding the corresponding negative percent-output constants in ConstRotors. A robot.tldr whiteboard file is also modified, but only with incidental editor-state churn.

Changes:

  • Added three REVERSE_* percent-output constants (-0.5) for intake, serializer, and transfer rollers.
  • Implemented EjectingHopper.initialize(), execute(), and end() to deploy the intake and drive the three rollers in reverse, stopping them on end.
  • Unrelated tldraw editor-state diff in robot.tldr (camera/zoom/selection/screen-bounds/user entry).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

File Description
src/main/java/frc/robot/constants/ConstRotors.java Adds reverse-speed constants for the intake, serializer, and transfer rollers.
src/main/java/frc/robot/commands/states/EjectingHopper.java Implements the eject behavior using the new constants; deploys intake pivot and stops rollers on end.
robot.tldr Incidental tldraw UI/editor-state changes unrelated to the feature.

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

Comment thread src/main/java/frc/robot/commands/states/EjectingHopper.java
Comment thread src/main/java/frc/robot/commands/states/EjectingHopper.java
Comment thread src/main/java/frc/robot/commands/states/EjectingHopper.java
Comment thread robot.tldr Outdated
Comment thread src/main/java/frc/robot/constants/ConstRotors.java Outdated
Co-Authored-By: lameesnotlame <258483139+lameesnotlame@users.noreply.github.com>

@TaylerUva TaylerUva left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Remember to addRequirements() and add the statemachine

and remember to setRobotState

Comment thread src/main/java/frc/robot/commands/states/EjectingHopper.java Outdated
FRCTeam3255-Shared-K1-10 and others added 5 commits May 30, 2026 15:00
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-Authored-By: lameesnotlame <258483139+lameesnotlame@users.noreply.github.com>
Co-Authored-By: lameesnotlame <258483139+lameesnotlame@users.noreply.github.com>
Co-Authored-By: jayden mendoza <244560677+jaymendo670-png@users.noreply.github.com>
@FRCTeam3255-Shared-K1-10 FRCTeam3255-Shared-K1-10 changed the title added reverse on transfer roller, serializer roller, and shooter roller added reverse on transfer roller, serializer roller, and intake roller May 30, 2026
@FRCTeam3255-Shared-K1-10 FRCTeam3255-Shared-K1-10 changed the title added reverse on transfer roller, serializer roller, and intake roller add eject hopper logic May 30, 2026

@TaylerUva TaylerUva left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

a

@FRCTeam3255-Shared-K1-10
FRCTeam3255-Shared-K1-10 enabled auto-merge (squash) May 30, 2026 22:30
… into 34-add-logic-for-state-ejectinghopper
@FRCTeam3255-Shared-K1-10
FRCTeam3255-Shared-K1-10 merged commit f0ddbf2 into main May 30, 2026
1 check passed
@FRCTeam3255-Shared-K1-10
FRCTeam3255-Shared-K1-10 deleted the 34-add-logic-for-state-ejectinghopper branch May 30, 2026 22:36
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: EjectingHopper

3 participants