Class DigitalDevice.Parameters
java.lang.Object
org.firstinspires.ftc.teamcode.fy23.robot.subsystems.DigitalDevice.Parameters
- Enclosing interface:
- DigitalDevice
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal String
You already set this in the constructor and cannot set it again.boolean
If this is true, the reported state of the device is inverted. -
Constructor Summary
ConstructorsConstructorDescriptionParameters
(String deviceName) Create a Parameters object and provide parameters that don't have default values. -
Method Summary
-
Field Details
-
deviceName
You already set this in the constructor and cannot set it again. -
invert
public boolean invertIf this is true, the reported state of the device is inverted.
-
-
Constructor Details
-
Parameters
Create a Parameters object and provide parameters that don't have default values.- Parameters:
deviceName
- The name of the device in the HardwareMap (robot configuration)
-