Initial commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user