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