Package frc.robot.programs
Class ProvidedMecanumTeleop
- java.lang.Object
-
- frc.robot.programs.interfaces.TeleopInterface
-
- frc.robot.programs.ProvidedMecanumTeleop
-
public class ProvidedMecanumTeleop extends TeleopInterface
This program performs a basic mecanum drive using the provided algorithim
-
-
Field Summary
Fields Modifier and Type Field Description private RobotHardwarerobot-
Fields inherited from class frc.robot.programs.interfaces.TeleopInterface
Default, displayName, elapsedTime, gamepad1, gamepad2, id
-
-
Constructor Summary
Constructors Constructor Description ProvidedMecanumTeleop(RobotHardware Robot)This program performs a basic mecanum drive using a provided algorithim
-
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
-
-
-
-
Field Detail
-
robot
private RobotHardware robot
-
-
Constructor Detail
-
ProvidedMecanumTeleop
public ProvidedMecanumTeleop(RobotHardware Robot)
This program performs a basic mecanum drive using a provided algorithim- 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
-
-