Skip to content

Shooter Subsystem Code

Lizzy7403 edited this page Jan 16, 2024 · 2 revisions

Shooter Subsystem Guide (Shooter.java) Purpose: The Shooter subsystem manages the robot's shooting mechanism. It controls the shooter motors to launch objects at various speeds.

Key Components:

Shooter Motors: Two motors that power the shooter mechanism.

Key Methods:

setShooterSpeed(double speed): Sets the speed of the shooter motors. speed: The speed at which to run the shooter motors. Range: -1.0 to 1.0.

stopShooter(): Stops the shooter motors, halting the shooting process.

Clone this wiki locally