Class LauncherGate.Parameters
java.lang.Object
org.firstinspires.ftc.teamcode.fy25.subsystems.launchergate.LauncherGate.Parameters
- Enclosing interface:
LauncherGate
You must set some of these if this subsystem is present.
-
Field Summary
FieldsModifier and TypeFieldDescriptioncom.qualcomm.robotcore.hardware.HardwareDeviceThe actuator that will run the gate, already instantiated and configured.The class of the actuator that will run the gate.doubleVelocity of gate motor in ticks per secondfinal booleanYou have already set this in the constructor and cannot set it again. -
Constructor Summary
ConstructorsConstructorDescriptionParameters(boolean present) Create a Parameters object and provide necessary parameters. -
Method Summary
-
Field Details
-
present
public final boolean presentYou have already set this in the constructor and cannot set it again. -
deviceClass
The class of the actuator that will run the gate. Example: for a Servo, this would be 'Servo.class'. Has no default. -
device
public com.qualcomm.robotcore.hardware.HardwareDevice deviceThe actuator that will run the gate, already instantiated and configured. Has no default. -
power
public double powerVelocity of gate motor in ticks per second
-
-
Constructor Details
-
Parameters
public Parameters(boolean present) Create a Parameters object and provide necessary parameters.- Parameters:
present- Is this subsystem installed on this robot?
-