tb_nav_test.launch 1.5 KB

1234567891011121314151617181920212223242526272829303132
  1. <launch>
  2. <param name="use_sim_time" value="false" />
  3. <!-- EDIT THIS LINE TO REFLECT THE NAME OF YOUR OWN MAP FILE
  4. Can also be overridden on the command line -->
  5. <arg name="map" default="test_map.yaml" />
  6. <!-- Run the map server with the desired map -->
  7. <node name="map_server" pkg="map_server" type="map_server" args="$(find rbx1_nav)/maps/$(arg map)"/>
  8. <!-- Start the move_base node with the nav_test parameters -->
  9. <node pkg="move_base" type="move_base" respawn="false" name="move_base" output="screen" clear_params="true">
  10. <rosparam file="$(find rbx1_nav)/config/turtlebot/costmap_common_params.yaml" command="load" ns="global_costmap" />
  11. <rosparam file="$(find rbx1_nav)/config/turtlebot/costmap_common_params.yaml" command="load" ns="local_costmap" />
  12. <rosparam file="$(find rbx1_nav)/config/turtlebot/local_costmap_params.yaml" command="load" />
  13. <rosparam file="$(find rbx1_nav)/config/turtlebot/global_costmap_params.yaml" command="load" />
  14. <rosparam file="$(find rbx1_nav)/config/turtlebot/base_local_planner_params.yaml" command="load" />
  15. <rosparam file="$(find rbx1_nav)/config/nav_test_params.yaml" command="load" />
  16. </node>
  17. <!-- Fire up AMCL -->
  18. <include file="$(find rbx1_nav)/launch/tb_amcl.launch" />
  19. <!-- Start the navigation test -->
  20. <node pkg="rbx1_nav" type="nav_test.py" name="nav_test" output="screen">
  21. <param name="rest_time" value="10" />
  22. <param name="fake_test" value="false" />
  23. </node>
  24. </launch>