Skip to content

Commit

Permalink
Merge pull request #189 from bit-bots/fix/launch_unused_map_server
Browse files Browse the repository at this point in the history
Do not launch unused map server
  • Loading branch information
timonegk authored Apr 29, 2023
2 parents d2dbb3f + 61090bb commit 219a47f
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions bitbots_localization/launch/localization.launch
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,4 @@
<param name="base_footprint_frame" value="$(var tf_prefix)base_footprint"/>
<param name="walking_moved_distance" value="0.5"/>
</node>

<!-- load the map for rviz-->
<node name="field_map_server" pkg="nav2_map_server" exec="map_server" output="screen">
<param name="frame_id" value="$(var tf_prefix)map" />
<param name="topic_name" value="field/map"/>
<param name="use_sim_time" value="$(var sim)"/>
<param name="yaml_filename" value="$(find-pkg-share bitbots_localization)/config/fields/$(var fieldname)/map_server.yaml" />
</node>

<!-- life cycle manager for map server -->
<node name="lifecycle_manager_navigation" pkg="nav2_lifecycle_manager" exec="lifecycle_manager" output="screen">
<param name="autostart" value="true"/>
<param name="use_sim_time" value="$(var sim)"/>
<param name="node_names" value="[field_map_server]" />
</node>
</launch>

0 comments on commit 219a47f

Please sign in to comment.