35 lines
782 B
C#
35 lines
782 B
C#
namespace RobotNet10.Shared.Sensor;
|
|
|
|
/// <summary>
|
|
/// Illuminance message (sensor_msgs/Illuminance)
|
|
/// Single photometric illuminance measurement
|
|
/// </summary>
|
|
public struct Illuminance
|
|
{
|
|
/// <summary>
|
|
/// Header with timestamp and frame ID
|
|
/// </summary>
|
|
public Header Header { get; set; }
|
|
|
|
/// <summary>
|
|
/// Illuminance reading in Lux
|
|
/// </summary>
|
|
public double IlluminanceValue { get; set; }
|
|
|
|
/// <summary>
|
|
/// Variance of the illuminance reading
|
|
/// </summary>
|
|
public double Variance { get; set; }
|
|
|
|
/// <summary>
|
|
/// Default constructor
|
|
/// </summary>
|
|
public Illuminance()
|
|
{
|
|
Header = new Header();
|
|
IlluminanceValue = 0.0;
|
|
Variance = 0.0;
|
|
}
|
|
}
|
|
|