using RobotNet10.Shared.Numbers;
namespace RobotNet10.Shared.Geometry;
///
/// Twist message (geometry_msgs/Twist)
/// Expresses velocity in free space broken into its linear and angular parts
///
public struct Twist
{
///
/// Linear velocity (Vector3)
///
public Vector3 Linear { get; set; }
///
/// Angular velocity (Vector3)
///
public Vector3 Angular { get; set; }
///
/// Default constructor
///
public Twist()
{
Linear = new Vector3();
Angular = new Vector3();
}
///
/// Constructor with parameters
///
public Twist(Vector3 linear, Vector3 angular)
{
Linear = linear;
Angular = angular;
}
}