Package frc.robot.programs
Class TeleopObserver
- java.lang.Object
-
- frc.robot.programs.interfaces.TestInterface
-
- frc.robot.programs.TeleopObserver
-
public class TeleopObserver extends TestInterface
-
-
Field Summary
Fields Modifier and Type Field Description private ProgramFetcherprogramFetcher(package private) java.util.List<RobotState>robotStateArray(package private) edu.wpi.first.util.datalog.StringLogEntryrobotStateArrayLogprivate TeleopInterfaceteleopProgram-
Fields inherited from class frc.robot.programs.interfaces.TestInterface
Default, displayName, elapsedTime, gamepad1, gamepad2, id, robot
-
-
Constructor Summary
Constructors Constructor Description TeleopObserver(RobotHardware Robot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestDisable()call this function once to run test disable code.voidtestInit()call this function once to run test init code.voidtestPeriodic()call this function repeatedly to run test periodic code.
-
-
-
Field Detail
-
programFetcher
private ProgramFetcher programFetcher
-
teleopProgram
private TeleopInterface teleopProgram
-
robotStateArray
java.util.List<RobotState> robotStateArray
-
robotStateArrayLog
edu.wpi.first.util.datalog.StringLogEntry robotStateArrayLog
-
-
Constructor Detail
-
TeleopObserver
public TeleopObserver(RobotHardware Robot)
-
-
Method Detail
-
testInit
public void testInit()
Description copied from class:TestInterfacecall this function once to run test init code.ONLY CALLED ONCE
- Overrides:
testInitin classTestInterface
-
testPeriodic
public void testPeriodic()
Description copied from class:TestInterfacecall this function repeatedly to run test periodic code.CALLED REPEATEDLY
- Overrides:
testPeriodicin classTestInterface
-
testDisable
public void testDisable()
Description copied from class:TestInterfacecall this function once to run test disable code.ONLY CALLED ONCE
- Overrides:
testDisablein classTestInterface
-
-