You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: configuration/packages/configuring-collision-monitor.rst
+36-4
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ The following models of safety behaviors are employed by Collision Monitor:
27
27
28
28
- **Stop model**: Define a zone and a point threshold. If ``min_points`` or more obstacle points appear inside this area, stop the robot until the obstacles will disappear.
29
29
- **Slowdown model**: Define a zone around the robot and slow the maximum speed for a ``slowdown_ratio``, if ``min_points`` or more points will appear inside the area.
30
+
- **Limit model**: Define a zone around the robot and restricts the maximum linear and angular velocities to ``linear_limit`` and ``angular_limit`` values accordingly, if ``min_points`` or more points will appear inside the area.
30
31
- **Approach model**: Using the current robot speed, estimate the time to collision to sensor data. If the time is less than ``time_before_collision`` seconds (0.5, 2, 5, etc...), the robot will slow such that it is now at least ``time_before_collision`` seconds to collision. The effect here would be to keep the robot always ``time_before_collision`` seconds from any collision.
31
32
32
33
The zones around the robot can take the following shapes:
@@ -155,7 +156,7 @@ Parameters
155
156
============== =============================
156
157
157
158
Description:
158
-
List of zones (stop/slowdown bounding boxes, footprint, approach circle, etc...). Causes an error, if not specialized.
159
+
List of zones (stop/slowdown/limit bounding boxes, footprint, approach circle, etc...). Causes an error, if not specialized.
159
160
160
161
161
162
:observation_sources:
@@ -194,7 +195,7 @@ Polygons parameters
194
195
============== =============================
195
196
196
197
Description:
197
-
Polygon vertexes, listed in ``{p1.x, p1.y, p2.x, p2.y, p3.x, p3.y, ...}`` format (e.g. ``{0.5, 0.25, 0.5, -0.25, 0.0, -0.25, 0.0, 0.25}`` for the square in the front). Used for ``polygon`` type. Minimum 3 points for a triangle polygon. If not specified, the collision monitor will use dynamic polygon subscription to ``polygon_sub_topic`` for points in the ``stop``/``slowdown`` action types, or footprint subscriber to ``footprint_topic`` for ``approach`` action type.
198
+
Polygon vertexes, listed in ``{p1.x, p1.y, p2.x, p2.y, p3.x, p3.y, ...}`` format (e.g. ``{0.5, 0.25, 0.5, -0.25, 0.0, -0.25, 0.0, 0.25}`` for the square in the front). Used for ``polygon`` type. Minimum 3 points for a triangle polygon. If not specified, the collision monitor will use dynamic polygon subscription to ``polygon_sub_topic`` for points in the ``stop``/``slowdown``/``limit`` action types, or footprint subscriber to ``footprint_topic`` for ``approach`` action type.
198
199
199
200
:``<polygon_name>``.polygon_sub_topic:
200
201
@@ -205,7 +206,7 @@ Polygons parameters
205
206
============== =============================
206
207
207
208
Description:
208
-
Topic to listen the polygon points from. Applicable only for ``polygon`` type and ``stop``/``slowdown`` action types. Causes an error, if not specified **and** points are also not specified. If both ``points`` and ``polygon_sub_topic`` are specified, the static ``points`` takes priority.
209
+
Topic to listen the polygon points from. Applicable only for ``polygon`` type and ``stop``/``slowdown``/``limit`` action types. Causes an error, if not specified **and** points are also not specified. If both ``points`` and ``polygon_sub_topic`` are specified, the static ``points`` takes priority.
209
210
210
211
:``<polygon_name>``.footprint_topic:
211
212
@@ -238,7 +239,7 @@ Polygons parameters
238
239
============== =============================
239
240
240
241
Description:
241
-
Zone behavior model. Available values are ``stop``, ``slowdown``, ``approach``. Causes an error, if not specialized.
242
+
Zone behavior model. Available values are ``stop``, ``slowdown``, ``limit``, ``approach``. Causes an error, if not specialized.
242
243
243
244
:``<polygon_name>``.min_points:
244
245
@@ -262,6 +263,28 @@ Polygons parameters
262
263
Description:
263
264
Robot slowdown (share of its actual speed). Applicable for ``slowdown`` action type.
264
265
266
+
:``<polygon_name>``.linear_limit:
267
+
268
+
============== =============================
269
+
Type Default
270
+
-------------- -----------------------------
271
+
double 0.5
272
+
============== =============================
273
+
274
+
Description:
275
+
Robot linear speed limit. Applicable for ``limit`` action type.
276
+
277
+
:``<polygon_name>``.angular_limit:
278
+
279
+
============== =============================
280
+
Type Default
281
+
-------------- -----------------------------
282
+
double 0.5
283
+
============== =============================
284
+
285
+
Description:
286
+
Robot angular speed limit. Applicable for ``limit`` action type.
287
+
265
288
:``<polygon_name>``.time_before_collision:
266
289
267
290
============== =============================
@@ -404,6 +427,15 @@ For more information how to bring-up your own Collision Monitor node, please ref
Copy file name to clipboardexpand all lines: migration/Humble.rst
+4
Original file line number
Diff line number
Diff line change
@@ -183,6 +183,10 @@ Renamed ROS-parameter in Collision Monitor
183
183
184
184
`PR #3513 <https://github.com/ros-planning/navigation2/pull/3513>`_ renames ``max_points`` parameter to ``min_points`` and changes its meaning. Formerly ``max_points`` meant the maximum number of points inside the area still not triggering the action, while ``min_points`` - is a minimal number of points starting from the action to be initiated. In other words ``min_points`` now should be adjusted as ``max_points + 1``.
185
185
186
+
New safety behavior model "limit" in Collision Monitor
187
+
******************************************
188
+
`PR #3519 <https://github.com/ros-planning/navigation2/pull/3519>`_ adds a new collision monitor behavior model ``limit`` that restricts maximum linear and angular speed to specific values (``linear_limit`` and ``angular_limit``) if enough points are in the given shape.
189
+
186
190
Velocity smoother applies deceleration when timeout
0 commit comments