Initial commit

This commit is contained in:
2026-07-13 09:25:40 +07:00
parent c08ff54676
commit bccfb156d7
1938 changed files with 641646 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
namespace RobotNet10.Shared.Sensor;
/// <summary>
/// JointState message (sensor_msgs/JointState)
/// This message holds data to describe the state of a set of torque controlled joints
/// </summary>
public struct JointState
{
/// <summary>
/// Header with timestamp and frame ID
/// </summary>
public Header Header { get; set; }
/// <summary>
/// The joint names
/// </summary>
public string[] Name { get; set; }
/// <summary>
/// The joint positions (rad)
/// </summary>
public double[] Position { get; set; }
/// <summary>
/// The joint velocities (rad/s)
/// </summary>
public double[] Velocity { get; set; }
/// <summary>
/// The joint efforts (Nm)
/// </summary>
public double[] Effort { get; set; }
/// <summary>
/// Default constructor
/// </summary>
public JointState()
{
Header = new Header();
Name = Array.Empty<string>();
Position = Array.Empty<double>();
Velocity = Array.Empty<double>();
Effort = Array.Empty<double>();
}
}