Package frc.robot.subsystems
Class Dashboard
java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
frc.robot.subsystems.Dashboard
A class that sets up the driverstation dashboard for the robot.
-
Constructor Summary
ConstructorsConstructorDescriptionDashboard
(Drivetrain drivetrain, RobotContainer robotContainer) Creates a new Dashboard. -
Method Summary
Modifier and TypeMethodDescriptionvoid
configureAutoBuilder
(DriverStation.Alliance alliance) Configures the auto builder using the drivetrain subsystem.void
periodic()
Methods inherited from class edu.wpi.first.wpilibj2.command.SubsystemBase
addChild, getName, getSubsystem, initSendable, setName, setSubsystem
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface edu.wpi.first.wpilibj2.command.Subsystem
defer, getCurrentCommand, getDefaultCommand, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, simulationPeriodic, startEnd, startRun
-
Constructor Details
-
Dashboard
Creates a new Dashboard.
-
-
Method Details
-
configureAutoBuilder
Configures the auto builder using the drivetrain subsystem. Also sets up the auto chooser on the dashboard.- Parameters:
alliance
- The alliance to configure the auto builder for.
-
periodic
public void periodic()
-