Arm Example Test
 
Loading...
Searching...
No Matches
frc.robot.RobotContainer Class Reference

This class is where the bulk of the robot should be declared. More...

Public Member Functions

 RobotContainer ()
 The container for the robot.
 
Command getAutonomousCommand ()
 Use this to pass the autonomous command to the main Robot class.
 

Detailed Description

This class is where the bulk of the robot should be declared.

Since Command-based is a "declarative" paradigm, very little robot logic should actually be handled in the Robot periodic methods (other than the scheduler calls). Instead, the structure of the robot (including subsystems, commands, and trigger mappings) should be declared here.

Constructor & Destructor Documentation

◆ RobotContainer()

frc.robot.RobotContainer.RobotContainer ( )

The container for the robot.

Contains subsystems, OI devices, and commands.

Member Function Documentation

◆ getAutonomousCommand()

Command frc.robot.RobotContainer.getAutonomousCommand ( )

Use this to pass the autonomous command to the main Robot class.

Returns
the command to run in autonomous

The documentation for this class was generated from the following file: