diff --git a/doc/index.rst b/doc/index.rst index f7fbcf09..b8401f8f 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -139,10 +139,22 @@ robot hardware interfaces between *ros2_control* and Gazebo. The *gz_ros2_control* ```` tag also has the following optional child elements: * ````: A YAML file with the configuration of the controllers. This element can be given multiple times to load multiple files. -* ````: if set to true (default), it will hold the joints' position if their interface was not claimed, e.g., the controller hasn't been activated yet. * ````: Set controller manager name (default: ``controller_manager``) + +The following additional parameters can be set via child elements in the URDF or via ROS parameters in the YAML file above: + +* ````: if set to true (default), it will hold the joints' position if their interface was not claimed, e.g., the controller hasn't been activated yet. * ````: Set the proportional gain. (default: 0.1) This determines the setpoint for a position-controlled joint ``joint_velocity = joint_position_error * position_proportional_gain``. +or via ROS parameters: + +.. code-block:: yaml + + gz_ros_control: + ros__parameters: + hold_joints: false + position_proportional_gain: 0.5 + Additionally, one can specify a namespace and remapping rules, which will be forwarded to the controller_manager and loaded controllers. Add the following ```` section: .. code-block:: xml