Skip to content

Commit d461475

Browse files
authored
Update rotation shim config (#873)
Signed-off-by: Maurice <mauricepurnawan@gmail.com>
1 parent 5e6c8b5 commit d461475

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

tutorials/docs/using_shim_controller.rst

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ The Rotation Shim Controller is very simple and only has a couple of parameters
8181
Configuring Primary Controller
8282
==============================
8383

84-
There is one more remaining parameter of the ``RotationShimController`` not mentioned above, the ``primary_controller``. This is the type of controller that your application would like to use as the primary modus operandi. It will share the same name and yaml namespace as the shim plugin. You can observe this below with the primary controller set the ``DWB`` (with the progress and goal checkers removed for brevity).
84+
There is one more remaining parameter of the ``RotationShimController`` not mentioned above, the ``primary_controller``. This is the type of controller that your application would like to use as the primary modus operandi.
85+
You can observe this below with the primary controller set the ``DWB`` (with the progress and goal checkers removed for brevity).
8586

8687
.. code-block:: yaml
8788
@@ -94,19 +95,17 @@ There is one more remaining parameter of the ``RotationShimController`` not ment
9495
controller_plugins: ["FollowPath"]
9596
FollowPath:
9697
plugin: "nav2_rotation_shim_controller::RotationShimController"
97-
primary_controller: "dwb_core::DWBLocalPlanner"
9898
angular_dist_threshold: 0.785
9999
forward_sampling_distance: 0.5
100100
rotate_to_heading_angular_vel: 1.8
101101
max_angular_accel: 3.2
102102
simulate_ahead_time: 1.0
103-
104-
# DWB parameters
105-
...
106-
...
107-
...
108-
109-
An important note is that **within the same yaml namespace**, you may also include any ``primary_controller`` specific parameters required for a robot. Thusly, after ``max_angular_accel``, you can include any of ``DWB``'s parameters for your platform.
103+
primary_controller:
104+
plugin: "dwb_core::DWBLocalPlanner"
105+
# DWB parameters
106+
...
107+
...
108+
...
110109
111110
112111
Demo Execution

0 commit comments

Comments
 (0)