Class LaserConfigAsset
Description of the laser distribution.
Implements
Inherited Members
Namespace: Mechatronics.SensorSDK
Assembly: solution.dll
Syntax
[Serializable]
public class LaserConfigAsset : ScriptableObject, ILaserConfig
Fields
Name | Description |
---|---|
azimuthOffsets | Azimuth for every beam. User-ordered. |
elevationOffsets | Elevation for every beam, must be the same size as azimuthOffsets. User-ordered. |
firingSequence | An ordered list of delays from the beginning of a trigger to fire the beam. In seconds. User-ordered. |
Properties
Name | Description |
---|---|
AzimuthsSortedByElevation | azimuthOffsets array, sorted by elevationOffsets array (output order). |
HorizontalCount | The number of lasers in the horizontal direction. Minimum 1. |
LaserPoses | Gives the lasers position and orientation, sorted in output (elevation) order. Size equal to LaserCount. |
MustBuildConfig | Used to know if we must build the config when we access the config information. |
VerticalCount | The number of lasers in the vertical direction. Minimum 1. |
Methods
Name | Description |
---|---|
GetFiringSequence(double) | Gives the delay for each beam to fire when it's time to sample the simulation, sorted in output (elevation) order. Size equal to LaserCount. |
Release() |
Events
Name | Description |
---|---|
LaserConfigChange | An event to register to when a notification of the beam configuration is required. |