Package frc.robot.programs
Class SimulationBoard
- java.lang.Object
-
- frc.robot.programs.interfaces.TeleopInterface
-
- frc.robot.programs.SimulationBoard
-
public class SimulationBoard extends TeleopInterface
-
-
Field Summary
-
Fields inherited from class frc.robot.programs.interfaces.TeleopInterface
Default, displayName, elapsedTime, gamepad1, gamepad2, id, robot
-
-
Constructor Summary
Constructors Constructor Description SimulationBoard(RobotHardware Robot)This program performs a basic tank drive simulation
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidteleopInit()call this function once to run teleop init code.voidteleopPeriodic()call this function repeatedly to run teleop periodic code.-
Methods inherited from class frc.robot.programs.interfaces.TeleopInterface
teleopDisable
-
-
-
-
Constructor Detail
-
SimulationBoard
public SimulationBoard(RobotHardware Robot)
This program performs a basic tank drive simulation- Parameters:
Robot- RobotHardware for controlling the motors and sensors
-
-
Method Detail
-
teleopInit
public void teleopInit()
Description copied from class:TeleopInterfacecall this function once to run teleop init code.ONLY CALLED ONCE
- Overrides:
teleopInitin classTeleopInterface
-
teleopPeriodic
public void teleopPeriodic()
Description copied from class:TeleopInterfacecall this function repeatedly to run teleop periodic code.CALLED REPEATEDLY
- Overrides:
teleopPeriodicin classTeleopInterface
-
-