35 lines
898 B
C#
35 lines
898 B
C#
namespace RobotNet10.Shared.Sensor;
|
|
|
|
/// <summary>
|
|
/// TimeReference message (sensor_msgs/TimeReference)
|
|
/// Measurement from an external time source not actively synchronized with the system clock
|
|
/// </summary>
|
|
public struct TimeReference
|
|
{
|
|
/// <summary>
|
|
/// Header with timestamp and frame ID
|
|
/// </summary>
|
|
public Header Header { get; set; }
|
|
|
|
/// <summary>
|
|
/// Measurement from an external time source not actively synchronized with the system clock
|
|
/// </summary>
|
|
public DateTime TimeRef { get; set; }
|
|
|
|
/// <summary>
|
|
/// The source of the time reference
|
|
/// </summary>
|
|
public string Source { get; set; }
|
|
|
|
/// <summary>
|
|
/// Default constructor
|
|
/// </summary>
|
|
public TimeReference()
|
|
{
|
|
Header = new Header();
|
|
TimeRef = DateTime.MinValue;
|
|
Source = string.Empty;
|
|
}
|
|
}
|
|
|