Skip to content

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

Longer reads

Articles that go deeper on this