Package frc.robot
Class RobotContainer
java.lang.Object
frc.robot.RobotContainer
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
FieldsModifier and TypeFieldDescriptionfinal CommandXboxControllerstatic SimpleWidgetstatic SimpleWidgetstatic MechanismLigament2dstatic MechanismLigament2dstatic ShuffleboardTabstatic Mechanism2dstatic final SendableChooser<Integer>static GenericEntrystatic MechanismRoot2d -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the user's selected autonomous command.voidUpdate simulationvoidUpdate viz
-
Field Details
-
mech
-
root
-
m_elevator
-
m_wrist
-
mainDriverTab
-
autoChooserWidget
-
operatorState
-
operatorManualMode
-
readyShoot
-
backLeftCameraWidget
-
numNoteChooser
-
fmsInfo
-
matchTime
-
voltageInfo
-
goToCenter
-
dumpNotes
-
driver
-
-
Constructor Details
-
RobotContainer
-
-
Method Details
-
getAutonomousCommand
Gets the user's selected autonomous command.- Returns:
- Returns autonomous command selected.
-
updateViz
public void updateViz()Update viz -
updateSimulation
public void updateSimulation()Update simulation
-