using RobotNet10.Shared.Numbers;
namespace RobotNet10.Shared.Geometry;
///
/// Transform message (geometry_msgs/Transform)
/// Represents a transform between two coordinate frames in free space
///
public struct Transform
{
///
/// Translation (Vector3)
///
public Vector3 Translation { get; set; }
///
/// Rotation (Quaternion)
///
public Quaternion Rotation { get; set; }
///
/// Default constructor
///
public Transform()
{
Translation = new Vector3();
Rotation = new Quaternion();
}
///
/// Constructor with parameters
///
public Transform(Vector3 translation, Quaternion rotation)
{
Translation = translation;
Rotation = rotation;
}
}