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