Files
mir_amr/navigations/costmap_2d/launch/example.launch
HiepLM c478cbee78 Add costmap_2d package sources
Convert navigations/costmap_2d from gitlink to normal tracked files.
2026-05-28 10:44:00 +07:00

22 lines
802 B
XML
Executable File

<launch>
<!--
NOTE: You'll need to bring up something that publishes sensor data (see
rosstage), something that publishes a map (see map_server), and something to
visualize a costmap (see nav_view), to see things work.
Also, on a real robot, you'd want to set the "use_sim_time" parameter to false, or just not set it.
-->
<param name="/use_sim_time" value="true"/>
<!-- Publishes the voxel grid to rviz for display -->
<node pkg="costmap_2d" type="costmap_2d_markers" name="voxel_visualizer">
<remap from="voxel_grid" to="costmap/voxel_grid"/>
</node>
<!-- Run the costmap node -->
<node name="costmap_node" pkg="costmap_2d" type="costmap_2d_node" >
<rosparam file="$(find costmap_2d)/launch/example_params.yaml" command="load" ns="costmap" />
</node>
</launch>