Class PlaneLauncher.Parameters
java.lang.Object
org.firstinspires.ftc.teamcode.fy23.subsystems.planelauncher.PlaneLauncher.Parameters
- Enclosing interface:
- PlaneLauncher
Deprecated.
-
Field Summary
FieldsModifier and TypeFieldDescriptioncom.qualcomm.robotcore.hardware.Servo
Deprecated.The servo that releases the rubberband, already instantiated and configuredfinal boolean
Deprecated.You already set this in the constructor and cannot set it again.final double
Deprecated.You already set this in the constructor and cannot set it again.final double
Deprecated.You already set this in the constructor and cannot set it again. -
Constructor Summary
ConstructorsConstructorDescriptionParameters
(boolean present, double releasePosition, double restPosition) Deprecated.Create a Parameters object and provide parameters that don't have default values. -
Method Summary
-
Field Details
-
present
public final boolean presentDeprecated.You already set this in the constructor and cannot set it again. -
planeServo
public com.qualcomm.robotcore.hardware.Servo planeServoDeprecated.The servo that releases the rubberband, already instantiated and configured -
releasePosition
public final double releasePositionDeprecated.You already set this in the constructor and cannot set it again. -
restPosition
public final double restPositionDeprecated.You already set this in the constructor and cannot set it again.
-
-
Constructor Details
-
Parameters
public Parameters(boolean present, double releasePosition, double restPosition) Deprecated.Create a Parameters object and provide parameters that don't have default values.- Parameters:
present
- Is this subsystem installed on the robot?releasePosition
- The position the servo should be at to release the rubberbandrestPosition
- The position the servo should be at to enable resetting the rubberband
-