Setting the default autonomous command
Since a command is simply one or more actions (behaviors) that the robot performs, it makes sense to describe the autonomous operation of a robot as a command. While it could be a single command, it is more likely going to be a command group (a group of commands that happen together).
To designate a command that runs when the robot starts during the autonomous period of a competition:
- Select the robot in the robot program description
- Fill in the Autonomous command field with the command that should run when the robot is placed in autonomous mode. This is a drop-down field and will give you the option to select any command that has been defined.
When the robot is put into autonomous mode, the defined Autonomous command will be scheduled.
See: Creating a command and Setting the default command for a subsystem.