Class FovParamsConfigs
- All Implemented Interfaces:
ParentConfiguration, Cloneable
Includes range and center configs
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleSpecifies the target center of the Field of View in the X direction.doubleSpecifies the target center of the Field of View in the Y direction.doubleSpecifies the target range of the Field of View in the X direction.doubleSpecifies the target range of the Field of View in the Y direction. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()final StatusCodedeserialize(String to_deserialize) Take a string and deserialize it to this configuration group.final AngleHelper method to get this configuration's FOVCenterX parameter converted to a unit type.final AngleHelper method to get this configuration's FOVCenterY parameter converted to a unit type.final AngleHelper method to get this configuration's FOVRangeX parameter converted to a unit type.final AngleHelper method to get this configuration's FOVRangeY parameter converted to a unit type.final StringGet the serialized form of this configuration group.toString()final FovParamsConfigswithFOVCenterX(double newFOVCenterX) Modifies this configuration's FOVCenterX parameter and returns itself for method-chaining and easier to use config API.final FovParamsConfigswithFOVCenterX(Angle newFOVCenterX) Modifies this configuration's FOVCenterX parameter and returns itself for method-chaining and easier to use config API.final FovParamsConfigswithFOVCenterY(double newFOVCenterY) Modifies this configuration's FOVCenterY parameter and returns itself for method-chaining and easier to use config API.final FovParamsConfigswithFOVCenterY(Angle newFOVCenterY) Modifies this configuration's FOVCenterY parameter and returns itself for method-chaining and easier to use config API.final FovParamsConfigswithFOVRangeX(double newFOVRangeX) Modifies this configuration's FOVRangeX parameter and returns itself for method-chaining and easier to use config API.final FovParamsConfigswithFOVRangeX(Angle newFOVRangeX) Modifies this configuration's FOVRangeX parameter and returns itself for method-chaining and easier to use config API.final FovParamsConfigswithFOVRangeY(double newFOVRangeY) Modifies this configuration's FOVRangeY parameter and returns itself for method-chaining and easier to use config API.final FovParamsConfigswithFOVRangeY(Angle newFOVRangeY) Modifies this configuration's FOVRangeY parameter and returns itself for method-chaining and easier to use config API.
-
Field Details
-
FOVCenterX
public double FOVCenterXSpecifies the target center of the Field of View in the X direction.The exact value may be different for different CANrange devices due to imperfections in the sensing silicon.
- Minimum Value: -11.8
- Maximum Value: 11.8
- Default Value: 0
- Units: deg
-
FOVCenterY
public double FOVCenterYSpecifies the target center of the Field of View in the Y direction.The exact value may be different for different CANrange devices due to imperfections in the sensing silicon.
- Minimum Value: -11.8
- Maximum Value: 11.8
- Default Value: 0
- Units: deg
-
FOVRangeX
public double FOVRangeXSpecifies the target range of the Field of View in the X direction. This is the full range of the FOV.The magnitude of this is capped to abs(27 - 2*FOVCenterX).
The exact value may be different for different CANrange devices due to imperfections in the sensing silicon.
- Minimum Value: 6.75
- Maximum Value: 27
- Default Value: 27
- Units: deg
-
FOVRangeY
public double FOVRangeYSpecifies the target range of the Field of View in the Y direction. This is the full range of the FOV.The magnitude of this is capped to abs(27 - 2*FOVCenterY).
The exact value may be different for different CANrange devices due to imperfections in the sensing silicon.
- Minimum Value: 6.75
- Maximum Value: 27
- Default Value: 27
- Units: deg
-
-
Constructor Details
-
FovParamsConfigs
public FovParamsConfigs()
-
-
Method Details
-
withFOVCenterX
Modifies this configuration's FOVCenterX parameter and returns itself for method-chaining and easier to use config API.Specifies the target center of the Field of View in the X direction.
The exact value may be different for different CANrange devices due to imperfections in the sensing silicon.
- Minimum Value: -11.8
- Maximum Value: 11.8
- Default Value: 0
- Units: deg
- Parameters:
newFOVCenterX- Parameter to modify- Returns:
- Itself
-
withFOVCenterX
Modifies this configuration's FOVCenterX parameter and returns itself for method-chaining and easier to use config API.Specifies the target center of the Field of View in the X direction.
The exact value may be different for different CANrange devices due to imperfections in the sensing silicon.
- Minimum Value: -11.8
- Maximum Value: 11.8
- Default Value: 0
- Units: deg
- Parameters:
newFOVCenterX- Parameter to modify- Returns:
- Itself
-
getFOVCenterXMeasure
Helper method to get this configuration's FOVCenterX parameter converted to a unit type. If not using the Java units library,FOVCenterXcan be accessed directly instead.Specifies the target center of the Field of View in the X direction.
The exact value may be different for different CANrange devices due to imperfections in the sensing silicon.
- Minimum Value: -11.8
- Maximum Value: 11.8
- Default Value: 0
- Units: deg
- Returns:
- FOVCenterX
-
withFOVCenterY
Modifies this configuration's FOVCenterY parameter and returns itself for method-chaining and easier to use config API.Specifies the target center of the Field of View in the Y direction.
The exact value may be different for different CANrange devices due to imperfections in the sensing silicon.
- Minimum Value: -11.8
- Maximum Value: 11.8
- Default Value: 0
- Units: deg
- Parameters:
newFOVCenterY- Parameter to modify- Returns:
- Itself
-
withFOVCenterY
Modifies this configuration's FOVCenterY parameter and returns itself for method-chaining and easier to use config API.Specifies the target center of the Field of View in the Y direction.
The exact value may be different for different CANrange devices due to imperfections in the sensing silicon.
- Minimum Value: -11.8
- Maximum Value: 11.8
- Default Value: 0
- Units: deg
- Parameters:
newFOVCenterY- Parameter to modify- Returns:
- Itself
-
getFOVCenterYMeasure
Helper method to get this configuration's FOVCenterY parameter converted to a unit type. If not using the Java units library,FOVCenterYcan be accessed directly instead.Specifies the target center of the Field of View in the Y direction.
The exact value may be different for different CANrange devices due to imperfections in the sensing silicon.
- Minimum Value: -11.8
- Maximum Value: 11.8
- Default Value: 0
- Units: deg
- Returns:
- FOVCenterY
-
withFOVRangeX
Modifies this configuration's FOVRangeX parameter and returns itself for method-chaining and easier to use config API.Specifies the target range of the Field of View in the X direction. This is the full range of the FOV.
The magnitude of this is capped to abs(27 - 2*FOVCenterX).
The exact value may be different for different CANrange devices due to imperfections in the sensing silicon.
- Minimum Value: 6.75
- Maximum Value: 27
- Default Value: 27
- Units: deg
- Parameters:
newFOVRangeX- Parameter to modify- Returns:
- Itself
-
withFOVRangeX
Modifies this configuration's FOVRangeX parameter and returns itself for method-chaining and easier to use config API.Specifies the target range of the Field of View in the X direction. This is the full range of the FOV.
The magnitude of this is capped to abs(27 - 2*FOVCenterX).
The exact value may be different for different CANrange devices due to imperfections in the sensing silicon.
- Minimum Value: 6.75
- Maximum Value: 27
- Default Value: 27
- Units: deg
- Parameters:
newFOVRangeX- Parameter to modify- Returns:
- Itself
-
getFOVRangeXMeasure
Helper method to get this configuration's FOVRangeX parameter converted to a unit type. If not using the Java units library,FOVRangeXcan be accessed directly instead.Specifies the target range of the Field of View in the X direction. This is the full range of the FOV.
The magnitude of this is capped to abs(27 - 2*FOVCenterX).
The exact value may be different for different CANrange devices due to imperfections in the sensing silicon.
- Minimum Value: 6.75
- Maximum Value: 27
- Default Value: 27
- Units: deg
- Returns:
- FOVRangeX
-
withFOVRangeY
Modifies this configuration's FOVRangeY parameter and returns itself for method-chaining and easier to use config API.Specifies the target range of the Field of View in the Y direction. This is the full range of the FOV.
The magnitude of this is capped to abs(27 - 2*FOVCenterY).
The exact value may be different for different CANrange devices due to imperfections in the sensing silicon.
- Minimum Value: 6.75
- Maximum Value: 27
- Default Value: 27
- Units: deg
- Parameters:
newFOVRangeY- Parameter to modify- Returns:
- Itself
-
withFOVRangeY
Modifies this configuration's FOVRangeY parameter and returns itself for method-chaining and easier to use config API.Specifies the target range of the Field of View in the Y direction. This is the full range of the FOV.
The magnitude of this is capped to abs(27 - 2*FOVCenterY).
The exact value may be different for different CANrange devices due to imperfections in the sensing silicon.
- Minimum Value: 6.75
- Maximum Value: 27
- Default Value: 27
- Units: deg
- Parameters:
newFOVRangeY- Parameter to modify- Returns:
- Itself
-
getFOVRangeYMeasure
Helper method to get this configuration's FOVRangeY parameter converted to a unit type. If not using the Java units library,FOVRangeYcan be accessed directly instead.Specifies the target range of the Field of View in the Y direction. This is the full range of the FOV.
The magnitude of this is capped to abs(27 - 2*FOVCenterY).
The exact value may be different for different CANrange devices due to imperfections in the sensing silicon.
- Minimum Value: 6.75
- Maximum Value: 27
- Default Value: 27
- Units: deg
- Returns:
- FOVRangeY
-
toString
-
serialize
Get the serialized form of this configuration group.- Specified by:
serializein interfaceParentConfiguration- Returns:
- Serialized form of this config group
-
deserialize
Take a string and deserialize it to this configuration group.- Specified by:
deserializein interfaceParentConfiguration- Parameters:
to_deserialize- The serialized configuration- Returns:
- Return code of the deserialize method
-
clone
-