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 CommandXboxController
static SimpleWidget
static SimpleWidget
static MechanismLigament2d
static MechanismLigament2d
static ShuffleboardTab
static Mechanism2d
static final SendableChooser<Integer>
static GenericEntry
static MechanismRoot2d
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the user's selected autonomous command.void
Update simulationvoid
Update 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
-