Skip to content

Commit fda15e6

Browse files
Update parameter descriptions and include test yamls where exists
1 parent bd5e9b2 commit fda15e6

File tree

10 files changed

+61
-48
lines changed

10 files changed

+61
-48
lines changed

admittance_controller/doc/userdoc.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ ROS 2 interface of the controller
1717
Parameters
1818
^^^^^^^^^^^
1919

20-
The admittance controller uses the `generate_parameter_library <https://github.com/PickNikRobotics/generate_parameter_library>`_ to handle its parameters.
21-
22-
An example parameter file can be found in the `test folder of the controller <https://github.com/ros-controls/ros2_controllers/blob/{REPOS_FILE_BRANCH}/admittance_controller/test/test_params.yaml>`_
20+
The admittance controller uses the `generate_parameter_library <https://github.com/PickNikRobotics/generate_parameter_library>`_ to handle its parameters. The parameter `definition file located in the src folder <https://github.com/ros-controls/ros2_controllers/blob/{REPOS_FILE_BRANCH}/admittance_controller/src/admittance_controller_parameters.yaml>`_ contains descriptions for all the parameters used by the controller.
2321

2422
.. generate_parameter_library_details:: ../src/admittance_controller_parameters.yaml
2523

24+
An example parameter file for this controller can be found in `the test folder <https://github.com/ros-controls/ros2_controllers/blob/{REPOS_FILE_BRANCH}/admittance_controller/test/test_params.yaml>`_:
25+
26+
.. literalinclude:: ../test/test_params.yaml
27+
:language: yaml
2628

2729
Topics
2830
^^^^^^^
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
linear.x: |
2+
Joint limits structure for the linear ``x``-axis.
3+
The limiter ignores position limits.
4+
For details see ``joint_limits`` package from ros2_control repository.
5+
6+
angular.z: |
7+
Joint limits structure for the rotation about ``z``-axis.
8+
The limiter ignores position limits.
9+
For details see ``joint_limits`` package from ros2_control repository.

diff_drive_controller/doc/userdoc.rst

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -64,28 +64,12 @@ Publishers
6464
Parameters
6565
,,,,,,,,,,,,
6666

67-
This controller uses the `generate_parameter_library <https://github.com/PickNikRobotics/generate_parameter_library>`_ to handle its parameters.
67+
This controller uses the `generate_parameter_library <https://github.com/PickNikRobotics/generate_parameter_library>`_ to handle its parameters. The parameter `definition file located in the src folder <https://github.com/ros-controls/ros2_controllers/blob/{REPOS_FILE_BRANCH}/diff_drive_controller/src/diff_drive_controller_parameter.yaml>`_ contains descriptions for all the parameters used by the controller.
6868

69-
List of parameters
70-
=========================
7169
.. generate_parameter_library_details:: ../src/diff_drive_controller_parameter.yaml
70+
parameters_context.yaml
7271

72+
An example parameter file for this controller can be found in `the test directory <https://github.com/ros-controls/ros2_controllers/blob/{REPOS_FILE_BRANCH}/diff_drive_controller/test/config/test_diff_drive_controller.yaml>`_:
7373

74-
Note that the documentation on parameters for joint limits can be found in `their header file <https://github.com/ros-controls/ros2_control/blob/{REPOS_FILE_BRANCH}/joint_limits/include/joint_limits/joint_limits_rosparam.hpp#L56-L75>`_.
75-
Those parameters are:
76-
77-
linear.x [JointLimits structure]
78-
Joint limits structure for the linear X-axis.
79-
The limiter ignores position limits.
80-
For details see ``joint_limits`` package from ros2_control repository.
81-
82-
angular.z [JointLimits structure]
83-
Joint limits structure for the rotation about Z-axis.
84-
The limiter ignores position limits.
85-
For details see ``joint_limits`` package from ros2_control repository.
86-
87-
An example parameter file
88-
=========================
89-
90-
.. generate_parameter_library_default::
91-
../src/diff_drive_controller_parameter.yaml
74+
.. literalinclude:: ../test/config/test_diff_drive_controller.yaml
75+
:language: yaml
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
interface_names: |
2+
(optional) Defines custom, per axis interface names.
3+
This is used if different prefixes, i.e., sensor name, or non-standard interface names are used.
4+
It is sufficient that only one ``interface_name`` is defined.
5+
This enables broadcaster use for force sensing cells with less then six measuring axes.
6+
Example definition is:
7+
8+
.. code-block:: yaml
9+
10+
interface_names:
11+
force:
12+
x: example_name/example_interface

force_torque_sensor_broadcaster/doc/userdoc.rst

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,17 @@ The controller is a wrapper around ``ForceTorqueSensor`` semantic component (see
1212

1313
Parameters
1414
^^^^^^^^^^^
15-
This controller uses the `generate_parameter_library <https://github.com/PickNikRobotics/generate_parameter_library>`_ to handle its parameters.
15+
This controller uses the `generate_parameter_library <https://github.com/PickNikRobotics/generate_parameter_library>`_ to handle its parameters. The parameter `definition file located in the src folder <https://github.com/ros-controls/ros2_controllers/blob/{REPOS_FILE_BRANCH}/force_torque_sensor_broadcaster/src/force_torque_sensor_broadcaster_parameters.yaml>`_ contains descriptions for all the parameters used by the controller.
1616

1717
The interfaces can be defined in two ways, using ``sensor_name`` or ``interface_names`` parameter:
1818
Those two parameters cannot be defined at the same time.
1919

20-
interface_names.[force|torque].[x|y|z] (optional)
21-
Defines custom, per axis interface names.
22-
This is used if different prefixes, i.e., sensor name, or non-standard interface names are used.
23-
It is sufficient that only one ``interface_name`` is defined.
24-
This enables broadcaster use for force sensing cells with less then six measuring axes.
25-
Example definition is:
26-
27-
.. code-block:: yaml
28-
29-
interface_names:
30-
force:
31-
x: example_name/example_interface
32-
3320
Full list of parameters:
3421

3522
.. generate_parameter_library_details:: ../src/force_torque_sensor_broadcaster_parameters.yaml
23+
parameters_context.yaml
24+
25+
An example parameter file for this controller can be found in `the test directory <https://github.com/ros-controls/ros2_controllers/blob/{REPOS_FILE_BRANCH}/force_torque_sensor_broadcaster/test/force_torque_sensor_broadcaster_params.yaml>`_:
26+
27+
.. literalinclude:: ../test/force_torque_sensor_broadcaster_params.yaml
28+
:language: yaml

gripper_controllers/doc/userdoc.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@
55
Gripper Action Controller
66
--------------------------------
77

8-
Controller for executing a gripper command action for simple single-dof grippers.
8+
Controllers for executing a gripper command action for simple single-dof grippers:
9+
10+
- ``position_controllers/GripperActionController``
11+
- ``effort_controllers/GripperActionController``
912

1013
Parameters
1114
^^^^^^^^^^^
12-
This controller uses the `generate_parameter_library <https://github.com/PickNikRobotics/generate_parameter_library>`_ to handle its parameters.
15+
These controllers use the `generate_parameter_library <https://github.com/PickNikRobotics/generate_parameter_library>`_ to handle its parameters. The parameter `definition file located in the src folder <https://github.com/ros-controls/ros2_controllers/blob/{REPOS_FILE_BRANCH}/gripper_controllers/src/gripper_action_controller_parameters.yaml>`_ contains descriptions for all the parameters used by the controller.
1316

1417
List of parameters
1518
=========================

imu_sensor_broadcaster/doc/userdoc.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The controller is a wrapper around ``IMUSensor`` semantic component (see ``contr
1111

1212
Parameters
1313
^^^^^^^^^^^
14-
This controller uses the `generate_parameter_library <https://github.com/PickNikRobotics/generate_parameter_library>`_ to handle its parameters.
14+
This controller uses the `generate_parameter_library <https://github.com/PickNikRobotics/generate_parameter_library>`_ to handle its parameters. The parameter `definition file located in the src folder <https://github.com/ros-controls/ros2_controllers/blob/{REPOS_FILE_BRANCH}/imu_sensor_broadcaster/src/imu_sensor_broadcaster_parameters.yaml>`_ contains descriptions for all the parameters used by the controller.
1515

1616
List of parameters
1717
=========================
@@ -21,5 +21,7 @@ List of parameters
2121
An example parameter file
2222
=========================
2323

24-
.. generate_parameter_library_default::
25-
../src/imu_sensor_broadcaster_parameters.yaml
24+
An example parameter file for this controller can be found in `the test directory <https://github.com/ros-controls/ros2_controllers/blob/{REPOS_FILE_BRANCH}/imu_sensor_broadcaster/test/imu_sensor_broadcaster_params.yaml>`_:
25+
26+
.. literalinclude:: ../test/imu_sensor_broadcaster_params.yaml
27+
:language: yaml

joint_state_broadcaster/doc/userdoc.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,19 @@ If none of the requested interface are not defined, the controller returns error
2222

2323
Parameters
2424
----------
25-
This controller uses the `generate_parameter_library <https://github.com/PickNikRobotics/generate_parameter_library>`_ to handle its parameters.
25+
This controller uses the `generate_parameter_library <https://github.com/PickNikRobotics/generate_parameter_library>`_ to handle its parameters. The parameter `definition file located in the src folder <https://github.com/ros-controls/ros2_controllers/blob/{REPOS_FILE_BRANCH}/joint_state_broadcaster/src/joint_state_broadcaster_parameters.yaml>`_ contains descriptions for all the parameters used by the controller.
26+
2627

2728
List of parameters
28-
=========================
29+
,,,,,,,,,,,,,,,,,,
2930

3031
.. generate_parameter_library_details::
3132
../src/joint_state_broadcaster_parameters.yaml
3233
joint_state_broadcaster_parameter_context.yml
3334

3435

3536
An example parameter file
36-
=========================
37+
,,,,,,,,,,,,,,,,,,,,,,,,,
3738

3839
.. generate_parameter_library_default::
3940
../src/joint_state_broadcaster_parameters.yaml

joint_trajectory_controller/doc/parameters.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
Details about parameters
66
^^^^^^^^^^^^^^^^^^^^^^^^
77

8-
This controller uses the `generate_parameter_library <https://github.com/PickNikRobotics/generate_parameter_library>`_ to handle its parameters.
8+
This controller uses the `generate_parameter_library <https://github.com/PickNikRobotics/generate_parameter_library>`_ to handle its parameters. The parameter `definition file located in the src folder <https://github.com/ros-controls/ros2_controllers/blob/{REPOS_FILE_BRANCH}/joint_trajectory_controller/src/joint_trajectory_controller_parameters.yaml>`_ contains descriptions for all the parameters used by the controller.
9+
910

1011
List of parameters
1112
=========================

range_sensor_broadcaster/doc/userdoc.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ The controller is a wrapper around ``RangeSensor`` semantic component (see ``con
1111

1212
Parameters
1313
^^^^^^^^^^^
14-
The Range Sensor Broadcaster uses the `generate_parameter_library <https://github.com/PickNikRobotics/generate_parameter_library>`_ to handle its parameters.
14+
The Range Sensor Broadcaster uses the `generate_parameter_library <https://github.com/PickNikRobotics/generate_parameter_library>`_ to handle its parameters. The parameter `definition file located in the src folder <https://github.com/ros-controls/ros2_controllers/blob/{REPOS_FILE_BRANCH}/range_sensor_broadcaster/src/range_sensor_broadcaster_parameters.yaml>`_ contains descriptions for all the parameters used by the controller.
15+
1516

1617
List of parameters
1718
=========================
@@ -23,3 +24,8 @@ An example parameter file
2324

2425
.. generate_parameter_library_default::
2526
../src/range_sensor_broadcaster_parameters.yaml
27+
28+
An example parameter file for this controller can be found in `the test directory <https://github.com/ros-controls/ros2_controllers/blob/{REPOS_FILE_BRANCH}/range_sensor_broadcaster/test/range_sensor_broadcaster_params.yaml>`_:
29+
30+
.. literalinclude:: ../test/range_sensor_broadcaster_params.yaml
31+
:language: yaml

0 commit comments

Comments
 (0)