Class TeleOpState24
java.lang.Object
org.firstinspires.ftc.teamcode.fy24.controls.TeleOpState24
Stores the state of the controls. The control scheme updates this, then the OpMode reads it.
This effectively maps buttons to actions. This edition is for 2024-25 Into the Deep.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getDts()
double
double
boolean
isBrake()
boolean
void
setArmMovement
(double armMovement) void
setBrake
(boolean brake) Please use aTriggerButton
for this.void
setClawState
(Claw.State clawState) void
void
setElevatorMovement
(double elevatorMovement) void
setIntakeState
(RotaryIntake.State state) void
setMaxDriveSpeed
(double newSpeed) void
setSquareUp
(boolean squareUp) Please use aTriggerButton
for this.
-
Constructor Details
-
TeleOpState24
public TeleOpState24()
-
-
Method Details
-
getDts
-
setDts
-
getArmMovement
public double getArmMovement() -
setArmMovement
public void setArmMovement(double armMovement) -
getElevatorMovement
public double getElevatorMovement() -
setElevatorMovement
public void setElevatorMovement(double elevatorMovement) -
getClawState
-
getIntakeState
-
setClawState
-
setIntakeState
-
getMaxDriveSpeed
public double getMaxDriveSpeed() -
setMaxDriveSpeed
public void setMaxDriveSpeed(double newSpeed) -
isSquareUp
public boolean isSquareUp() -
isBrake
public boolean isBrake() -
setSquareUp
public void setSquareUp(boolean squareUp) Please use aTriggerButton
for this. -
setBrake
public void setBrake(boolean brake) Please use aTriggerButton
for this.
-