diff --git a/migration/Jazzy.rst b/migration/Jazzy.rst index 424478dbc..d83e3e69d 100644 --- a/migration/Jazzy.rst +++ b/migration/Jazzy.rst @@ -134,17 +134,16 @@ Removed global map_topic from Costmap node In `PR #4715 `_ the global `map_topic` parameter has been removed from the `Costmap2DROS` node. This parameterwas only used in the `StaticLayer` and should be defined as a parameter local to the `StaticLayer` instead, for example: -``` -global_costmap: +.. code-block:: yaml + global_costmap: - ros__parameters: - [...] - # Not supported anymore - map_topic: my_map - static_layer: - plugin: "nav2_costmap_2d::StaticLayer" - map_subscribe_transient_local: True - # Do this instead + global_costmap: + ros__parameters: + [...] + # Not supported anymore map_topic: my_map - -``` + static_layer: + plugin: "nav2_costmap_2d::StaticLayer" + map_subscribe_transient_local: True + # Do this instead + map_topic: my_map