Files
BQP/srcs/RobotNet10/Shared/RobotNet10.Shared/Geometry/Pose.cs
2026-07-13 09:25:40 +07:00

38 lines
836 B
C#

namespace RobotNet10.Shared.Geometry;
/// <summary>
/// Pose message (geometry_msgs/Pose)
/// Represents a pose in free space, composed of position and orientation
/// </summary>
public struct Pose
{
/// <summary>
/// Position (Point)
/// </summary>
public Point Position { get; set; }
/// <summary>
/// Orientation (Quaternion)
/// </summary>
public Quaternion Orientation { get; set; }
/// <summary>
/// Default constructor
/// </summary>
public Pose()
{
Position = new Point();
Orientation = new Quaternion();
}
/// <summary>
/// Constructor with parameters
/// </summary>
public Pose(Point position, Quaternion orientation)
{
Position = position;
Orientation = orientation;
}
}