40 lines
849 B
C#
40 lines
849 B
C#
using RobotNet10.Shared.Numbers;
|
|
|
|
namespace RobotNet10.Shared.Geometry;
|
|
|
|
/// <summary>
|
|
/// PointStamped message (geometry_msgs/PointStamped)
|
|
/// A Point with reference coordinate frame and timestamp
|
|
/// </summary>
|
|
public struct PointStamped
|
|
{
|
|
/// <summary>
|
|
/// Header with timestamp and frame ID
|
|
/// </summary>
|
|
public Header Header { get; set; }
|
|
|
|
/// <summary>
|
|
/// Point
|
|
/// </summary>
|
|
public Vector3 Point { get; set; }
|
|
|
|
/// <summary>
|
|
/// Default constructor
|
|
/// </summary>
|
|
public PointStamped()
|
|
{
|
|
Header = new Header();
|
|
Point = new Vector3();
|
|
}
|
|
|
|
/// <summary>
|
|
/// Constructor with parameters
|
|
/// </summary>
|
|
public PointStamped(Header header, Vector3 point)
|
|
{
|
|
Header = header;
|
|
Point = point;
|
|
}
|
|
}
|
|
|