48 lines
1.5 KiB
C#
48 lines
1.5 KiB
C#
namespace Sick.SafetyScanners.DataStructures;
|
|
|
|
/// <summary>
|
|
/// Contains the derived configuration of the measurement data channel
|
|
/// </summary>
|
|
public sealed class DerivedValues
|
|
{
|
|
/// <summary>
|
|
/// Angle resolution constant to convert sensor input to the right frame (4194304.0)
|
|
/// </summary>
|
|
public const double AngleResolution = 4194304.0;
|
|
|
|
/// <summary>
|
|
/// Gets or sets the multiplication factor to be applied to beam distance values to get distance in millimeter
|
|
/// </summary>
|
|
public ushort MultiplicationFactor { get; init; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the number of beams of the current scan
|
|
/// </summary>
|
|
public ushort NumberOfBeams { get; init; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the time of the scan (ms)
|
|
/// </summary>
|
|
public ushort ScanTime { get; init; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the start angle of the scan (radians)
|
|
/// </summary>
|
|
public double StartAngle { get; init; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the angular resolution between beams (radians)
|
|
/// </summary>
|
|
public double AngularBeamResolution { get; init; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the time between consecutive beams (microseconds)
|
|
/// </summary>
|
|
public uint InterbeamPeriod { get; init; }
|
|
|
|
/// <summary>
|
|
/// Gets whether derived values are empty (not enabled)
|
|
/// </summary>
|
|
public bool IsEmpty { get; init; }
|
|
}
|