JointState
Represents the state of a single joint. Also used as the per-frame joint values in recorded and replayed trajectories.
Attributes:
Attribute | Type | Description |
|---|---|---|
|
| Joint name; must match the names returned by |
|
| Position in |
|
| Velocity in |
|
| Torque in |
|
| Manufacturer-specific passthrough or additional extension data dictionary |
JointState
Signature:
JointState(
*,
name: str,
position: float | None = None,
velocity: float | None = None,
effort: float | None = None,
extra: dict[str, Any] | None = None,
)
Description:
Construct a JointState instance. All parameters are keyword-only.
Parameters:
Parameter | Type | Required | Description |
|---|---|---|---|
|
| Yes | Joint name |
|
| No | Position |
|
| No | Velocity |
|
| No | Torque |
|
| No | Extended information dictionary |
Returns:
JointState instance.
Raises:
None.