38 lines
807 B
C#
38 lines
807 B
C#
namespace RobotNet10.Shared.Geometry;
|
|
|
|
/// <summary>
|
|
/// TwistStamped message (geometry_msgs/TwistStamped)
|
|
/// A Twist with reference coordinate frame and timestamp
|
|
/// </summary>
|
|
public struct TwistStamped
|
|
{
|
|
/// <summary>
|
|
/// Header with timestamp and frame ID
|
|
/// </summary>
|
|
public Header Header { get; set; }
|
|
|
|
/// <summary>
|
|
/// Twist
|
|
/// </summary>
|
|
public Twist Twist { get; set; }
|
|
|
|
/// <summary>
|
|
/// Default constructor
|
|
/// </summary>
|
|
public TwistStamped()
|
|
{
|
|
Header = new Header();
|
|
Twist = new Twist();
|
|
}
|
|
|
|
/// <summary>
|
|
/// Constructor with parameters
|
|
/// </summary>
|
|
public TwistStamped(Header header, Twist twist)
|
|
{
|
|
Header = header;
|
|
Twist = twist;
|
|
}
|
|
}
|
|
|