Skip to content

Conversation

@google-labs-jules
Copy link

This change introduces a new intake subsystem with a motor, along with two commands: Intake() and Flush(). The Intake command spins the motor in one direction for 5 seconds, while the Flush command spins it in the other direction for 2 seconds. The new subsystem is also visualized as a separate short riser on the right of the tilt riser in the robot simulator. The commands have been added to the SmartDashboard for easy access.


PR created automatically by Jules for task 12560196317355951132 started by @batchen1

- Creates a new `IntakeSubsystem` to manage the intake motor.
- Adds two new commands, `Intake` and `Flush`, to control the intake motor with timed durations.
- Adds a new riser and ligament to the `RobotVisualizer` to represent the intake mechanism.
- Adds the `Intake` and `Flush` commands to the SmartDashboard for operator control.
- Updates `Constants.java` with the necessary values for the new subsystem.
@google-labs-jules
Copy link
Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Copy link
Contributor

@batchen1 batchen1 left a comment

Choose a reason for hiding this comment

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

temp

@batchen1
Copy link
Contributor

batchen1 commented Jan 2, 2026

I want to add another motor with CAN ID 33 to the same subsystem. I want both motors to always spin together (but I don't want it as a follower) in opposite directions. Please add the second motor to the visualizer on the same riser in a way that makes sense so I can see both of them spinning when I use the flush or intake commands.

@google-labs-jules
Copy link
Author

I want to add another motor with CAN ID 33 to the same subsystem. I want both motors to always spin together (but I don't want it as a follower) in opposite directions. Please add the second motor to the visualizer on the same riser in a way that makes sense so I can see both of them spinning when I use the flush or intake commands.

I have added the second motor to the intake subsystem. It will spin in the opposite direction to the first motor. I have also added it to the visualizer.

- Adds a second motor to the `IntakeSubsystem` with CAN ID 33.
- The second motor spins in the opposite direction to the first motor.
- Adds a second ligament to the `RobotVisualizer` to represent the second intake motor.
- Updates `Constants.java` with the new motor ID.
- Updates the `IntakeSubsystem` and `RobotContainer` to handle the second motor.
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.

2 participants