• FRC Game Manual
  • FRC Game Q&A
  • 2014 CS Archive
FIRST Robotics Competition Logo
2021

Zero to Robot

  • Introduction
  • Step 1: Building your Robot
  • Step 2: Installing Software
  • Step 3: Preparing Your Robot
  • Step 4: Programming your Robot

Control System Overviews

  • Hardware Component Overview
  • Software Component Overview

Programming Basics

  • What is WPILib?
  • 2021 Overview
  • VS Code Overview
  • FRC LabVIEW Programming
  • Actuators
  • Sensors
  • CAN Devices
  • Basic Programming
  • Support Resources
  • FRC Glossary

API Docs

  • WPILib Java API Docs
  • WPILib C++ API Docs

Software Tools

  • Driver Station
  • Shuffleboard
  • SmartDashboard
  • Glass
  • LabVIEW Dashboard
  • PathWeaver
  • RobotBuilder
  • Robot Simulation
  • Robot Characterization
  • OutlineViewer

Advanced Programming

  • Vision Processing
  • Command-Based Programming
  • [Old] Command Based Programming
    • [Old] Command Based - Basics
    • [Old] Command Based - Subsystems
    • [Old] Command Based - Commands
  • Kinematics and Odometry
  • NetworkTables
  • roboRIO
  • Advanced GradleRIO
  • Advanced Controls
  • Convenience Features

Examples and Tutorials

  • WPILib Example Projects
  • Trajectory Tutorial
  • Drivetrain Simulation Tutorial

Hardware

  • Hardware - Basics
  • Hardware Tutorials
  • Sensors

Romi Robot

  • Getting Started with Romi

Robot Networking

  • Networking Introduction
  • Networking Utilities

Contributing

  • Contributing to frc-docs
  • Developing with allwpilib

Issues

  • Report an Issue
FIRST Robotics Competition
  • »
  • [Old] Command Based Programming
  • Edit on GitHub

[Old] Command Based ProgrammingΒΆ

Important

This documentation describes the use of the legacy command-based library. While this documentation has been preserved to help teams that have yet to do so, teams are strongly encouraged to migrate to the new command-based library.

  • [Old] Command Based - Basics
    • What is Command-Based Programming?
    • Creating a Robot Project
    • Adding Commands and Subsystems to the Project
    • Converting a Simple Autonomous Program to Command-Based
  • [Old] Command Based - Subsystems
    • Simple Subsystems
    • PIDSubsystems for built-in PID Control
  • [Old] Command Based - Commands
    • Creating Simple Commands
    • Creating Groups of Commands
    • Running Commands on Joystick Input
    • Running Commands during Autonomous
    • Default Commands
    • Synchronizing Two Commands
    • Scheduling Commands
Next Previous

© Copyright 2021, FIRST and other WPILib Contributors. Revision e1ef0dba.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: 2021
Versions
latest
stable
2021
2020
Downloads
On Read the Docs
Project Home
Builds