added xml version

This commit is contained in:
locker98 2024-12-19 14:59:33 -05:00
parent c89934a284
commit 7b328de5c1
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,16 @@
<launch>
<!-- Declare Launch Arguments -->
<arg name="use_sim_time" default="false" description="Use simulation time" />
<arg name="map" default="" description="Map input" />
<!-- Include bringup launch file -->
<include file="$(find nav2_bringup)/launch/bringup_launch.py">
<arg name="use_sim_time" value="$(arg use_sim_time)" />
<arg name="map" value="$(arg map)" />
</include>
<!-- RViz node -->
<node pkg="rviz2" exec="rviz2" output="screen">
<param name="config" value="$(find locker98_tools_bringup)/rviz/nav2_config.rviz" />
</node>
</launch>

View File

@ -0,0 +1,13 @@
<launch>
<arg name="use_sim_time" default="False" />
<include file="$(find-pkg-share nav2_bringup)/launch/navigation_launch.py">
<arg name="use_sim_time" value="$(arg use_sim_time)"/>
</include>
<include file="$(find-pkg-share slam_toolbox)/launch/online_async_launch.py">
<arg name="use_sim_time" value="$(arg use_sim_time)"/>
</include>
<node pkg="rviz2" executable="rviz2" output="screen" args="-d $(find-pkg-share locker98_tools_bringup)/rviz/nav2_slam.rviz" />
</launch>