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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    void
     
    void
     
    void
     
    void
     
    void
     
    void
     
    void
     
    void
     
    void
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CommandRobot

      public CommandRobot()
  • Method Details

    • robotInit

      public void robotInit()
      Overrides:
      robotInit in class edu.wpi.first.wpilibj.IterativeRobotBase
    • robotPeriodic

      public void robotPeriodic()
      Overrides:
      robotPeriodic in class edu.wpi.first.wpilibj.IterativeRobotBase
    • simulationInit

      public void simulationInit()
      Overrides:
      simulationInit in class edu.wpi.first.wpilibj.IterativeRobotBase
    • simulationPeriodic

      public void simulationPeriodic()
      Overrides:
      simulationPeriodic in class edu.wpi.first.wpilibj.IterativeRobotBase
    • disabledInit

      public void disabledInit()
      Overrides:
      disabledInit in class edu.wpi.first.wpilibj.IterativeRobotBase
    • disabledPeriodic

      public void disabledPeriodic()
      Overrides:
      disabledPeriodic in class edu.wpi.first.wpilibj.IterativeRobotBase
    • teleopInit

      public void teleopInit()
      Overrides:
      teleopInit in class edu.wpi.first.wpilibj.IterativeRobotBase
    • teleopPeriodic

      public void teleopPeriodic()
      Overrides:
      teleopPeriodic in class edu.wpi.first.wpilibj.IterativeRobotBase
    • autonomousInit

      public void autonomousInit()
      Overrides:
      autonomousInit in class edu.wpi.first.wpilibj.IterativeRobotBase
    • autonomousPeriodic

      public void autonomousPeriodic()
      Overrides:
      autonomousPeriodic in class edu.wpi.first.wpilibj.IterativeRobotBase
    • testInit

      public void testInit()
      Overrides:
      testInit in class edu.wpi.first.wpilibj.IterativeRobotBase
    • testPeriodic

      public void testPeriodic()
      Overrides:
      testPeriodic in class edu.wpi.first.wpilibj.IterativeRobotBase