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