Class PlaneLauncher.Parameters
java.lang.Object
org.firstinspires.ftc.teamcode.fy23.robot.subsystems.PlaneLauncher.Parameters
- Enclosing interface:
- PlaneLauncher
-
Field Summary
Modifier and TypeFieldDescriptioncom.qualcomm.robotcore.hardware.Servo
The servo that releases the rubberband, already instantiated and configuredfinal boolean
You already set this in the constructor and cannot set it again.final double
You already set this in the constructor and cannot set it again.final double
You already set this in the constructor and cannot set it again. -
Constructor Summary
ConstructorDescriptionParameters
(boolean present, double releasePosition, double restPosition) Create a Parameters object and provide parameters that don't have default values. -
Method Summary
-
Field Details
-
present
public final boolean presentYou already set this in the constructor and cannot set it again. -
planeServo
public com.qualcomm.robotcore.hardware.Servo planeServoThe servo that releases the rubberband, already instantiated and configured -
releasePosition
public final double releasePositionYou already set this in the constructor and cannot set it again. -
restPosition
public final double restPositionYou already set this in the constructor and cannot set it again.
-
-
Constructor Details
-
Parameters
public Parameters(boolean present, double releasePosition, double restPosition) 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
-