namespace RobotNet10.Shared;
///
/// Standard ROS Header message (similar to std_msgs/Header)
///
public struct Header
{
///
/// Sequence number: consecutively increasing ID
///
public uint Seq { get; set; }
///
/// Timestamp: time when data was acquired
///
public DateTime Stamp { get; set; }
///
/// Frame ID: frame this data is associated with
///
public string FrameId { get; set; }
///
/// Default constructor
///
public Header()
{
Seq = 0;
Stamp = DateTime.MinValue;
FrameId = string.Empty;
}
///
/// Constructor with parameters
///
public Header(uint seq, DateTime stamp, string frameId)
{
Seq = seq;
Stamp = stamp;
FrameId = frameId;
}
}