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-vector-object-server.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
@@ -58,7 +58,7 @@ Features
58
58
Covered use-cases
59
59
*****************
60
60
61
-
Using Vector Object server publishing an output map as input mask to :ref:`Costmap Filters <foxy_migration>` allows covering following (not restricted only to) use-cases:
61
+
Using Vector Object server publishing an output map as input mask to :ref:`Costmap Filters <costmap_filters>` allows covering following (not restricted only to) use-cases:
Copy file name to clipboardExpand all lines: tutorials/docs/navigation2_with_vector_objects.rst
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,10 +71,10 @@ This value is equal to ``100`` which means "occupied" in OccupancyGrid format.
71
71
72
72
Each shape is being addressed by UUID, which could be specified manually in a string format. In the demonstration, it was skipped to specify UUID of the shapes in the parameters, so Vector Object server will automatically generate a new one for each shape. The list of UUID could be obtained later by calling ``GetShapes.srv`` service.
73
73
74
-
Costmap Filters are required ``CostmapFilterInfo.msg`` message to be published along with filter mask (rasterized map with vector shapes).
75
-
Costmap Filter Info message is being published by Costmap Filter Info server, which is also launching by ``vector_object_server.launch.py`` script.
74
+
Costmap Filters require ``CostmapFilterInfo.msg`` message to be published along with filter mask (rasterized map with vector shapes).
75
+
Costmap Filter Info message is being published by Costmap Filter Info server, which is also launched by the ``vector_object_server.launch.py`` script.
76
76
77
-
Overall ``vector_object_server_params.yaml`` YAML-file for the demonstration to be look as follows:
77
+
The complete ``vector_object_server_params.yaml`` YAML-file for the demonstration looks as follows:
78
78
79
79
.. code-block:: yaml
80
80
@@ -104,7 +104,7 @@ Overall ``vector_object_server_params.yaml`` YAML-file for the demonstration to
104
104
costmap_filter_info_server:
105
105
ros__parameters:
106
106
type: 0
107
-
filter_info_topic: "costmap_filter_info"
107
+
filter_info_topic: "vo_costmap_filter_info"
108
108
mask_topic: "vo_map"
109
109
base: 0.0
110
110
multiplier: 1.0
@@ -113,11 +113,10 @@ More detailed information about each Vector Object server parameter and its oper
113
113
114
114
After Vector Objects and Costmap Filters Info servers were configured, launch them by command from below.
115
115
Robot should bypass vector obstacles. For the demonstration purposes it is enough to avoid path planning through them.
116
-
Thus, vector objects should be added to global costmap, so we need to choose ``global_costmap`` namespace for correct work:
@@ -136,7 +135,7 @@ Since vector objects are being enabled in global costmaps, Keepout Filter called
136
135
vector_object_layer:
137
136
plugin: "nav2_costmap_2d::KeepoutFilter"
138
137
enabled: True
139
-
filter_info_topic: "costmap_filter_info"
138
+
filter_info_topic: "vo_costmap_filter_info"
140
139
141
140
Demo Execution
142
141
==============
@@ -158,7 +157,7 @@ We are using composable nodes technology, so in the console where Vector Object
158
157
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/global_costmap/vector_object_server' in container 'nav2_container'
159
158
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/global_costmap/costmap_filter_info_server' in container 'nav2_container'
160
159
161
-
The last lines mean that all three nodes: Vector Object server, Costmap Filter Info server and Lifecycle Manager handling them, were successfully loaded into running Nav2 container ``nav2_container``.
160
+
The last lines mean that all three nodes: Vector Object server, Costmap Filter Info server, and the Lifecycle Manager handling them, were successfully loaded into the Nav2 container ``nav2_container``.
162
161
163
162
Set the initial pose for the robot, and check that vector objects were appeared on global costmap:
0 commit comments