-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Let sphinx add parameter description with nested structures to docume…
- Loading branch information
1 parent
6c1fe34
commit 0cfe23e
Showing
15 changed files
with
204 additions
and
254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
linear.x: | | ||
Joint limits structure for the linear ``x``-axis. | ||
The limiter ignores position limits. | ||
For details see ``joint_limits`` package from ros2_control repository. | ||
angular.z: | | ||
Joint limits structure for the rotation about ``z``-axis. | ||
The limiter ignores position limits. | ||
For details see ``joint_limits`` package from ros2_control repository. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
force_torque_sensor_broadcaster/doc/parameters_context.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
interface_names: | | ||
(optional) Defines custom, per axis interface names. | ||
This is used if different prefixes, i.e., sensor name, or non-standard interface names are used. | ||
It is sufficient that only one ``interface_name`` is defined. | ||
This enables the broadcaster to use force sensing cells with less than six measuring axes. | ||
An example definition is: | ||
.. code-block:: yaml | ||
interface_names: | ||
force: | ||
x: example_name/example_interface |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
joint_state_broadcaster/doc/joint_state_broadcaster_parameter_context.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
map_interface_to_joint_state: | | ||
Optional parameter (map) providing mapping between custom interface names to standard fields in ``joint_states`` message. | ||
Usecases: | ||
#. Hydraulics robots where feedback and commanded values often have an offset and reliance on open-loop control is common. | ||
Typically one would map both values in separate interfaces in the framework. | ||
To visualize those data multiple joint_state_broadcaster instances and robot_state_publishers would be used to visualize both values in RViz. | ||
#. A robot provides multiple measuring techniques for its joint values which results in slightly different values. | ||
Typically one would use separate interface for providing those values in the framework. | ||
Using multiple joint_state_broadcaster instances we could publish and show both in RViz. | ||
Format (each line is optional): | ||
.. code-block:: yaml | ||
\tmap_interface_to_joint_state: | ||
\t\tposition: <custom_interface> | ||
\t\tvelocity: <custom_interface> | ||
\t\teffort: <custom_interface> | ||
Examples: | ||
.. code-block:: yaml | ||
\tmap_interface_to_joint_state: | ||
\t\tposition: kf_estimated_position | ||
.. code-block:: yaml | ||
\tmap_interface_to_joint_state: | ||
\t\tvelocity: derived_velocity | ||
\t\teffort: derived_effort | ||
.. code-block:: yaml | ||
\tmap_interface_to_joint_state: | ||
\t\teffort: torque_sensor | ||
.. code-block:: yaml | ||
\tmap_interface_to_joint_state: | ||
\t\teffort: current_sensor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.