Programming, Controls & SensorsModule 2 of 13
The Robot Program: Lifecycle and Command-Based Architecture
Learn how a robot program is structured and runs. Start with TimedRobot's lifecycle, then adopt the command-based framework — the modern, recommended way to organize FRC code with Subsystems, Commands, and Triggers.
The Robot Program: Lifecycle and Command-Based Architecture is module 2 of 13 in the Programming, Controls & Sensors guide. It picks up where Foundations: Tools, Languages, and Your First Robot Program left off and hands over to Motors, Sensors, and Closed-Loop Control. Its 4 lessons are about 160 minutes of the guide's ~30 hours.
4 lessons~160 min51 lessons in this guide
In this module
4 lessons
Jargon check
FRC terms used in The Robot Program: Lifecycle and Command-Based Architecture
Longer reads
Articles that go deeper on this
All 13 modules in Programming, Controls & Sensors
Department overview- PreProgramming Foundations: A Java Primer4
- 01Foundations: Tools, Languages, and Your First Robot Program4
- 02The Robot Program: Lifecycle and Command-Based Architecture4
- 03Motors, Sensors, and Closed-Loop Control4
- 04Autonomous: Odometry, Trajectories, and Simulation4
- 05Sensing Fundamentals: Digital, Analog, and CAN Inputs3
- 06Encoders: Measuring Position and Velocity3
- 07Gyros, IMUs, and Orientation3
- 08Closed-Loop Control: PID, Feedforward, and SysId4
- 09Computer Vision and Pose Estimation3
- 10Worked Examples and Mini-Projects5
- 11Common Mistakes and Troubleshooting5
- 12Advanced Techniques and Case Studies5