Mechanisms and Subsystems
In this module, we will explore the concept of mechanisms and subsystems in FRC robots. Unlike traditional subsystem-based designs, we will focus on a modular approach that allows for reusable components. This method emphasizes the creation of mechanisms that can be easily integrated into different subsystems, promoting flexibility and efficiency in robot design.
Presentation
Exercises
GitHub Repo
- Fork the onboarding repo.
- Clone the onboarding repo to your folder in the share drive
- Update the readme and create / push a commit
Mechanisms and Subsystems
- Create a shooter package under subsystems
- Create a ShooterConstants class
- Add all constants for the flywheel and roller
- Update the OI class to allow reading buttons
- Create a Shooter Subsystem
- Add a flywheel Mechanism
- Add a roller mechanism
- Create logic to allow a button press to shoot
- Create logic to allow a button press to index
- Update the RobotContainer to register your subsystem
Related Documentation
Software
- Mechanisms: Overview of mechanisms in FRC robots (Unique to MARS/WARE).
- Subsystems: Overview of subsystems in FRC robots (Unique to MARS/WARE).