Class CommandRobot
java.lang.Object
edu.wpi.first.wpilibj.RobotBase
edu.wpi.first.wpilibj.IterativeRobotBase
edu.wpi.first.wpilibj.TimedRobot
io.github.tigerbotics7125.tigerlib.CommandRobot
- All Implemented Interfaces:
AutoCloseable
public class CommandRobot
extends edu.wpi.first.wpilibj.TimedRobot
This class is designed to abstract away the need to call the CommandScheduler periodically.
-
Field Summary
Fields inherited from class edu.wpi.first.wpilibj.TimedRobot
kDefaultPeriod
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
void
void
testInit()
void
Methods inherited from class edu.wpi.first.wpilibj.TimedRobot
addPeriodic, addPeriodic, close, endCompetition, startCompetition
Methods inherited from class edu.wpi.first.wpilibj.IterativeRobotBase
autonomousExit, disabledExit, enableLiveWindowInTest, getPeriod, isLiveWindowEnabledInTest, loopFunc, setNetworkTablesFlushEnabled, teleopExit, testExit
Methods inherited from class edu.wpi.first.wpilibj.RobotBase
getMainThreadId, getRuntimeType, isAutonomous, isAutonomousEnabled, isDisabled, isEnabled, isReal, isSimulation, isTeleop, isTeleopEnabled, isTest, startRobot, suppressExitWarning
-
Constructor Details
-
CommandRobot
public CommandRobot()
-
-
Method Details
-
robotInit
public void robotInit()- Overrides:
robotInit
in classedu.wpi.first.wpilibj.IterativeRobotBase
-
robotPeriodic
public void robotPeriodic()- Overrides:
robotPeriodic
in classedu.wpi.first.wpilibj.IterativeRobotBase
-
simulationInit
public void simulationInit()- Overrides:
simulationInit
in classedu.wpi.first.wpilibj.IterativeRobotBase
-
simulationPeriodic
public void simulationPeriodic()- Overrides:
simulationPeriodic
in classedu.wpi.first.wpilibj.IterativeRobotBase
-
disabledInit
public void disabledInit()- Overrides:
disabledInit
in classedu.wpi.first.wpilibj.IterativeRobotBase
-
disabledPeriodic
public void disabledPeriodic()- Overrides:
disabledPeriodic
in classedu.wpi.first.wpilibj.IterativeRobotBase
-
teleopInit
public void teleopInit()- Overrides:
teleopInit
in classedu.wpi.first.wpilibj.IterativeRobotBase
-
teleopPeriodic
public void teleopPeriodic()- Overrides:
teleopPeriodic
in classedu.wpi.first.wpilibj.IterativeRobotBase
-
autonomousInit
public void autonomousInit()- Overrides:
autonomousInit
in classedu.wpi.first.wpilibj.IterativeRobotBase
-
autonomousPeriodic
public void autonomousPeriodic()- Overrides:
autonomousPeriodic
in classedu.wpi.first.wpilibj.IterativeRobotBase
-
testInit
public void testInit()- Overrides:
testInit
in classedu.wpi.first.wpilibj.IterativeRobotBase
-
testPeriodic
public void testPeriodic()- Overrides:
testPeriodic
in classedu.wpi.first.wpilibj.IterativeRobotBase
-