JavaScript is disabled on your browser.
 
public class  RobotContainer 
extends Object  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 button mappings) should be declared here.
 
Field Summary 
Fields 
 
 
edu.wpi.first.wpilibj.XboxController
 
edu.wpi.first.wpilibj.XboxController
 
 
 
 
 
 
Constructor Summary 
Constructors 
The container for the robot.
 
 
 
 
Method Summary 
All Methods Instance Methods Concrete Methods 
void
 
edu.wpi.first.wpilibj2.command.Command
Use this to pass the autonomous command to the main 
Robot class.
 
void
 
 
 
 
Methods inherited from class java.lang.Object  
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait  
 
 
 
 
Field Details 
primaryController 
public  edu.wpi.first.wpilibj.XboxController  primaryController 
 
 
secondaryController 
public  edu.wpi.first.wpilibj.XboxController  secondaryController 
 
 
 
 
 
 
 
 
 
Constructor Details 
RobotContainer 
public  RobotContainer ()
The container for the robot. Contains subsystems, OI devices, and commands.
 
 
 
 
 
Method Details 
 
initDebugNT 
public  void  initDebugNT ()
 
 
getAutonomousCommand 
public  edu.wpi.first.wpilibj2.command.Command  getAutonomousCommand ()
Use this to pass the autonomous command to the main 
Robot class.
Returns: 
the command to run in autonomous