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: concepts/index.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ After, it is possible to activate the node by transitioning through the activati
52
52
53
53
This state will allow the node to process information and be fully setup to run.
54
54
The configuration stage, triggering the ``on_configure()`` method, will setup all parameters, ROS networking interfaces, and for safety systems, all dynamically allocated memory.
55
-
The activation stage, triggering the ``on_activate()`` method, will active the ROS networking interfaces and set any states in the program to start processing information.
55
+
The activation stage, triggering the ``on_activate()`` method, will activate the ROS networking interfaces and set any states in the program to start processing information.
56
56
57
57
To shutdown, we transition into deactivating, cleaning up, shutting down and end in the finalized state.
58
58
The networking interfaces are deactivated and stop processing, deallocate memory, exit cleanly, in those stages, respectively.
Checks if the robot is near the goal by computing the remaining path length from the robot's current position to the goal. Returns SUCCESS when the remaining path length is less than the proximity threshold, otherwise returns FAILURE.
7
+
8
+
Parameter
9
+
---------
10
+
11
+
:transform_tolerance:
12
+
13
+
Defined and declared in :ref:`configuring_bt_navigator`.
14
+
15
+
Example
16
+
^^^^^^^
17
+
.. code-block:: yaml
18
+
19
+
bt_navigator:
20
+
ros__parameters:
21
+
# other bt_navigator parameters
22
+
transform_tolerance: 0.1
23
+
24
+
Input Ports
25
+
-----------
26
+
27
+
:path:
28
+
29
+
==================================== =======
30
+
Type Default
31
+
------------------------------------ -------
32
+
nav_msgs::msg::Path N/A
33
+
==================================== =======
34
+
35
+
Description
36
+
The planned path to evaluate.
37
+
38
+
:proximity_threshold:
39
+
40
+
====== =======
41
+
Type Default
42
+
------ -------
43
+
double 1.0
44
+
====== =======
45
+
46
+
Description
47
+
The remaining path length (in meters) considered as "nearby". When the remaining distance along the path is less than this threshold, the condition returns SUCCESS.
48
+
49
+
:max_robot_pose_search_dist:
50
+
51
+
====== =======
52
+
Type Default
53
+
------ -------
54
+
double -1.0
55
+
====== =======
56
+
57
+
Description
58
+
Maximum forward integrated distance along the path (starting from the last detected pose) to bound the search for the closest pose to the robot. When set to a negative value (default), the entire path is searched every time. Setting this to a positive value (e.g., 1.0-2.0 meters) can improve performance when this BT node is ticked frequently to address looping or crossed paths (when present).
The port number for the Groot2 server. Note: In Groot2, you only need to specify the server port value, not the publisher port, as it is always the server port +1. Therefore, in this case, to use another navigator, the next available port would be 1669.
296
319
320
+
:``<navigate_to_pose_name>``.search_window:
321
+
322
+
============== =============================
323
+
Type Default
324
+
-------------- -----------------------------
325
+
double 2.0
326
+
============== =============================
327
+
328
+
Description
329
+
How far (in meters) along the path the searching algorithm will look for the closest point.
The port number for the Groot2 server. Note: In Groot2, you only need to specify the server port value, not the publisher port, as it is always the server port +1. Therefore, in this case, to use another navigator, the next available port would be 1671.
354
399
400
+
:``<navigate_through_poses>``.search_window:
401
+
402
+
============== =============================
403
+
Type Default
404
+
-------------- -----------------------------
405
+
double 2.0
406
+
============== =============================
407
+
408
+
Description
409
+
How far (in meters) along the path the searching algorithm will look for the closest point.
410
+
355
411
Example
356
412
*******
357
413
.. code-block:: yaml
@@ -362,6 +418,8 @@ Example
362
418
robot_base_frame: base_link
363
419
transform_tolerance: 0.1
364
420
filter_duration: 0.3
421
+
default_server_timeout: 20
422
+
default_cancel_timeout: 50
365
423
introspection_mode: "disabled"
366
424
default_nav_to_pose_bt_xml: replace/with/path/to/bt.xml # or $(find-pkg-share my_package)/behavior_tree/my_nav_to_pose_bt.xml
367
425
default_nav_through_poses_bt_xml: replace/with/path/to/bt.xml # or $(find-pkg-share my_package)/behavior_tree/my_nav_through_poses_bt.xml
@@ -377,10 +435,12 @@ Example
377
435
plugin: "nav2_bt_navigator::NavigateToPoseNavigator"# In Iron and older versions, "/" was used instead of "::"
378
436
enable_groot_monitoring: false
379
437
groot_server_port: 1667
438
+
search_window: 2.0
380
439
navigate_through_poses:
381
440
plugin: "nav2_bt_navigator::NavigateThroughPosesNavigator"# In Iron and older versions, "/" was used instead of "::"
0 commit comments