@@ -8,7 +8,7 @@ Source code on Github_.
8
8
.. _Github : https://github.com/ros-planning/navigation2/tree/master/nav2_controller
9
9
10
10
The Controller Server implements the server for handling the controller requests for the stack and host a map of plugin implementations.
11
- It will take in a path and a controller plugin name to use and call the appropriate plugin .
11
+ It will take in path and plugin names for controller, progress checker and goal checker to use and call the appropriate plugins .
12
12
13
13
Parameters
14
14
**********
@@ -49,6 +49,55 @@ Parameters
49
49
plugin : " dwb_core::DWBLocalPlanner"
50
50
..
51
51
52
+ :progress_checker_plugin:
53
+
54
+ ============== ==============
55
+ Type Default
56
+ -------------- --------------
57
+ string 'progress_checker'
58
+ ============== ==============
59
+
60
+ Description
61
+ Mapped name for progress checker plugin for checking progress made by robot.
62
+
63
+ Note
64
+ The plugin namespace defined needs to have a :code: `plugin ` parameter defining the type of plugin to be loaded in the namespace.
65
+
66
+ Example:
67
+
68
+ .. code-block :: yaml
69
+
70
+ controller_server :
71
+ ros__parameters :
72
+ progress_checker_plugin : " progress_checker"
73
+ progress_checker :
74
+ plugin : " nav2_controller::SimpleProgressChecker"
75
+ ..
76
+
77
+ :goal_checker_plugin:
78
+
79
+ ============== ==============
80
+ Type Default
81
+ -------------- --------------
82
+ string 'goal_checker'
83
+ ============== ==============
84
+
85
+ Description
86
+ Mapped name for goal checker plugin for checking goal is reached.
87
+
88
+ Note
89
+ The plugin namespace defined needs to have a :code: `plugin ` parameter defining the type of plugin to be loaded in the namespace.
90
+
91
+ Example:
92
+
93
+ .. code-block :: yaml
94
+
95
+ controller_server :
96
+ ros__parameters :
97
+ goal_checker_plugin : " goal_checker"
98
+ goal_checker :
99
+ plugin : " nav2_controller::SimpleGoalChecker"
100
+
52
101
:min_x_velocity_threshold:
53
102
54
103
============== =============================
@@ -82,51 +131,54 @@ Parameters
82
131
Description
83
132
Minimum angular velocity to use (rad/s).
84
133
85
- :required_movement_radius:
86
-
87
- ============== =============================
88
- Type Default
89
- -------------- -----------------------------
90
- double 0.5
91
- ============== =============================
92
-
93
- Description
94
- Minimum amount a robot must move to be progressing to goal (m).
134
+ Provided Plugins
135
+ ****************
136
+ The plugins listed below are inside the ``nav2_controller `` namespace.
95
137
96
- :movement_time_allowance:
138
+ .. toctree ::
139
+ :maxdepth: 1
97
140
98
- ============== =============================
99
- Type Default
100
- -------------- -----------------------------
101
- double 10.0
102
- ============== =============================
103
-
104
- Description
105
- Maximum amount of time a robot has to move the minimum radius (s).
141
+ nav2_controller-plugins/simple_progress_checker.rst
142
+ nav2_controller-plugins/simple_goal_checker.rst
143
+ nav2_controller-plugins/stopped_goal_checker.rst
106
144
107
145
Default Plugins
108
146
***************
109
147
110
- When the :code: `controller_plugins ` parameter is not overridden, the following default plugins are loaded:
148
+ When the :code: `progress_checker_plugin `, :code: ` goal_checker_plugin ` or :code: ` controller_plugins ` parameters are not overridden, the following default plugins are loaded:
111
149
112
- ================= =====================================================
113
- Namespace Plugin
114
- ----------------- -----------------------------------------------------
115
- "FollowPath" "dwb_core::DWBLocalPlanner"
116
- ================= =====================================================
150
+ ================== =====================================================
151
+ Namespace Plugin
152
+ ------------------ -----------------------------------------------------
153
+ "progress_checker" "nav2_controller::SimpleProgressChecker"
154
+ ------------------ -----------------------------------------------------
155
+ "goal_checker" "nav2_controller::SimpleGoalChecker"
156
+ ------------------ -----------------------------------------------------
157
+ "FollowPath" "dwb_core::DWBLocalPlanner"
158
+ ================== =====================================================
117
159
118
160
Example
119
161
*******
120
162
.. code-block :: yaml
121
163
122
164
controller_server :
123
165
ros__parameters :
166
+ use_sim_time : True
124
167
controller_frequency : 20.0
125
- min_x_velocity_threshold : 0.01
126
- min_y_velocity_threshold : 0.0
127
- min_theta_velocity_threshold : 0.1
128
- required_movement_radius : 0.5
129
- movement_time_allowance : 5.0
130
- controller_plugins : ['FollowPath']
168
+ min_x_velocity_threshold : 0.001
169
+ min_y_velocity_threshold : 0.5
170
+ min_theta_velocity_threshold : 0.001
171
+ progress_checker_plugin : " progress_checker"
172
+ goal_checker_plugin : " goal_checker"
173
+ controller_plugins : ["FollowPath"]
174
+ progress_checker :
175
+ plugin : " nav2_controller::SimpleProgressChecker"
176
+ required_movement_radius : 0.5
177
+ movement_time_allowance : 10.0
178
+ goal_checker :
179
+ plugin : " nav2_controller::SimpleGoalChecker"
180
+ xy_goal_tolerance : 0.25
181
+ yaw_goal_tolerance : 0.25
182
+ stateful : True
131
183
FollowPath :
132
184
plugin : " dwb_core::DWBLocalPlanner"
0 commit comments