Package frc.robot.programs
Class HowToCrashACar
- java.lang.Object
-
- frc.robot.programs.interfaces.TeleopInterface
-
- frc.robot.programs.HowToCrashACar
-
public class HowToCrashACar extends TeleopInterface
NOTE: Kellen Named This Program
-
-
Field Summary
-
Fields inherited from class frc.robot.programs.interfaces.TeleopInterface
Default, displayName, elapsedTime, gamepad1, gamepad2, id, robot
-
-
Constructor Summary
Constructors Constructor Description HowToCrashACar(RobotHardware Robot)This program performs a basic mecanum drive using a custom algorithim
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidteleopDisable()call this function once to run teleop disable code.voidteleopInit()call this function once to run teleop init code.voidteleopPeriodic()call this function repeatedly to run teleop periodic code.
-
-
-
Constructor Detail
-
HowToCrashACar
public HowToCrashACar(RobotHardware Robot)
This program performs a basic mecanum drive using a custom algorithim- Parameters:
Robot- RobotHardware for controlling the motors and sensors (used to avoid overlapping instances)
-
-
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
-
teleopDisable
public void teleopDisable()
Description copied from class:TeleopInterfacecall this function once to run teleop disable code.ONLY CALLED ONCE
- Overrides:
teleopDisablein classTeleopInterface
-
-