Package frc.robot.programs
Class MotorTester
- java.lang.Object
-
- frc.robot.programs.interfaces.TestInterface
-
- frc.robot.programs.MotorTester
-
public class MotorTester extends TestInterface
-
-
Field Summary
-
Fields inherited from class frc.robot.programs.interfaces.TestInterface
Default, displayName, elapsedTime, gamepad1, gamepad2, id, robot
-
-
Constructor Summary
Constructors Constructor Description MotorTester(RobotHardware Robot)This program performs a basic tank drive simulation
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestInit()call this function once to run test init code.voidtestPeriodic()call this function repeatedly to run test periodic code.-
Methods inherited from class frc.robot.programs.interfaces.TestInterface
testDisable
-
-
-
-
Constructor Detail
-
MotorTester
public MotorTester(RobotHardware Robot)
This program performs a basic tank drive simulation- Parameters:
Robot- RobotHardware for controlling the motors and sensors
-
-
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
-
-