-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update autodoc of parameters with nested parameters etc
- Loading branch information
1 parent
0d7bd68
commit e4fae73
Showing
9 changed files
with
142 additions
and
202 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
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
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,13 @@ | ||
constraints: | ||
Default values for tolerances if no explicit values are states in JointTrajectory message. | ||
|
||
gains: | | ||
Only relevant, if ``open_loop_control`` is not set. | ||
If ``velocity`` is the only command interface for all joints or an ``effort`` command interface is configured, PID controllers are used for every joint. | ||
This structure contains the controller gains for every joint with the control law | ||
.. math:: u = k_{ff} v_d + k_p e + k_i \sum e dt + k_d (v_d - v) | ||
with the desired velocity :math:`v_d`, the measured velocity :math:`v`, the position error :math:`e` (definition see ``angle_wraparound`` below), | ||
the controller period :math:`dt`, and the ``velocity`` or ``effort`` manipulated variable (control variable) :math:`u`, respectively. |
Oops, something went wrong.