You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: joint_state_broadcaster/doc/userdoc.rst
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,3 +38,25 @@ An example parameter file
38
38
39
39
.. generate_parameter_library_default::
40
40
../src/joint_state_broadcaster_parameters.yaml
41
+
42
+
43
+
Order of the joints in the message
44
+
----------------------------------
45
+
46
+
The order of the joints in the message can determined by 3 different parameter settings:
47
+
48
+
1. No defined ``joints`` parameter and ``use_urdf_to_filter`` set to ``false``:
49
+
The order of the joints in the message is the same as the order of the joints' state interfaces registered in the resource manager. This is typically the order in which the hardware components are loaded and configured.
50
+
51
+
2. No defined ``joints`` parameter and ``use_urdf_to_filter`` set to ``true``:
52
+
The order of the joints in the message is the same as the order of the joints in the URDF file, which is inherited from the loaded URDF model and independent of the order in the `ros2_control` tag.
53
+
54
+
3. Defined ``joints`` parameter along with ``interfaces`` parameter:
55
+
The order of the joints in the message is the same as the order of the joints in the ``joints`` parameter.
56
+
57
+
If the ``joints`` parameter is a subset of the total available joints in the URDF (or) the total available state interfaces, then only the joints in the ``joints`` parameter are published in the message.
58
+
59
+
If any of the combinations of the defined ``joints`` parameter and ``interfaces`` parameter are not in the available state interfaces, the controller will fail to activate.
60
+
61
+
..note::
62
+
If the ``extra_joints`` parameter is set, the joints in the ``extra_joints`` parameter are appended to the end of the joint names in the message.
0 commit comments