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
@@ -228,7 +228,7 @@ Parameters applicable for polygons only
228
228
============== =============================
229
229
230
230
Description:
231
-
Polygon vertices, listed in ``{p1.x, p1.y, p2.x, p2.y, p3.x, p3.y, ...}`` format (e.g. ``{0.5, 0.5, 0.5, -0.5, -0.5, -0.5, -0.5, 0.5}`` for the square). Minimum 3 points for a triangle polygon. Causes an error, if not specialized incorrectly (less than 6 or odd number of items in the vector) or not specialized.
231
+
Polygon vertices, listed in ``[p1.x, p1.y, p2.x, p2.y, p3.x, p3.y, ...]`` format (e.g. ``[0.5, 0.5, 0.5, -0.5, -0.5, -0.5, -0.5, 0.5]`` for the square). Minimum 3 points for a triangle polygon. Causes an error, if not specialized incorrectly (less than 6 or odd number of items in the vector) or not specialized.
[INFO] [launch]: All log files can be found below /home/leha/.ros/log/2023-11-24-13-18-42-257011-leha-PC-18207
155
155
[INFO] [launch]: Default logging verbosity is set to INFO
156
-
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/global_costmap/lifecycle_manager_vo_server' in container 'nav2_container'
157
-
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/global_costmap/vector_object_server' in container 'nav2_container'
158
-
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/global_costmap/costmap_filter_info_server' in container 'nav2_container'
156
+
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/lifecycle_manager_vo_server' in container 'nav2_container'
157
+
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/vector_object_server' in container 'nav2_container'
158
+
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/costmap_filter_info_server' in container 'nav2_container'
159
159
160
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``.
161
161
@@ -180,7 +180,7 @@ To obtain shapes UUID, run the ``GetShapes.srv`` service request from the consol
180
180
181
181
.. code-block:: bash
182
182
183
-
ros2 service call /global_costmap/vector_object_server/get_shapes nav2_msgs/srv/GetShapes
183
+
ros2 service call /vector_object_server/get_shapes nav2_msgs/srv/GetShapes
184
184
185
185
The output is expected to be the as follows:
186
186
@@ -200,7 +200,7 @@ Call the following service request with obtained UUID to do this:
The polygon shape in Vector Object server will be changed, ``vo_map`` will be updated and resulting costmap will look as follows - triangle obstacle was updated to bar:
206
206
@@ -211,7 +211,7 @@ To remove any existing shape, there is ``RemoveShapes.srv`` service supported. I
211
211
212
212
.. code-block:: bash
213
213
214
-
ros2 service call /global_costmap/vector_object_server/remove_shapes nav2_msgs/srv/RemoveShapes "all_objects: true"
214
+
ros2 service call /vector_object_server/remove_shapes nav2_msgs/srv/RemoveShapes "all_objects: true"
215
215
216
216
As a result, all vector shapes were disappeared from global costmap:
0 commit comments