Class FovParamsConfigs
Configs that affect the ToF Field of View
Includes range and center configspublic class FovParamsConfigs : IParentConfiguration, ISerializable, ICloneable
- Inheritance
-
FovParamsConfigs
- Implements
- Inherited Members
Fields
FOVCenterX
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 Value11.8
- Default Value0
- Unitsdeg
public double FOVCenterX
Field Value
FOVCenterY
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 Value11.8
- Default Value0
- Unitsdeg
public double FOVCenterY
Field Value
FOVRangeX
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 Value6.75
- Maximum Value27
- Default Value27
- Unitsdeg
public double FOVRangeX
Field Value
FOVRangeY
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 Value6.75
- Maximum Value27
- Default Value27
- Unitsdeg
public double FOVRangeY
Field Value
Methods
Clone()
Creates a copy of this config group.
public FovParamsConfigs Clone()
Returns
Deserialize(string)
Deserialize string and put values into this object
public StatusCode Deserialize(string to_deserialize)
Parameters
to_deserializestringString to deserialize
Returns
- StatusCode
OK if deserialization is OK
Serialize()
Serialize this object into a string
public string Serialize()
Returns
- string
This object's data serialized into a string
ToString()
Provides the string representation of this object
public override string ToString()
Returns
WithFOVCenterX(double)
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 Value11.8
- Default Value0
- Unitsdeg
public FovParamsConfigs WithFOVCenterX(double newFOVCenterX)
Parameters
newFOVCenterXdoubleParameter to modify
Returns
- FovParamsConfigs
Itself
WithFOVCenterY(double)
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 Value11.8
- Default Value0
- Unitsdeg
public FovParamsConfigs WithFOVCenterY(double newFOVCenterY)
Parameters
newFOVCenterYdoubleParameter to modify
Returns
- FovParamsConfigs
Itself
WithFOVRangeX(double)
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 Value6.75
- Maximum Value27
- Default Value27
- Unitsdeg
public FovParamsConfigs WithFOVRangeX(double newFOVRangeX)
Parameters
newFOVRangeXdoubleParameter to modify
Returns
- FovParamsConfigs
Itself
WithFOVRangeY(double)
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 Value6.75
- Maximum Value27
- Default Value27
- Unitsdeg
public FovParamsConfigs WithFOVRangeY(double newFOVRangeY)
Parameters
newFOVRangeYdoubleParameter to modify
Returns
- FovParamsConfigs
Itself