fake_nav_test.launch 1.6 KB

12345678910111213141516171819202122232425262728293031323334
  1. <launch>
  2. <param name="use_sim_time" value="false" />
  3. <!-- Start the ArbotiX controller -->
  4. <include file="$(find rbx1_bringup)/launch/fake_turtlebot.launch" />
  5. <!-- Run the map server with the desired map -->
  6. <node name="map_server" pkg="map_server" type="map_server" args="$(find rbx1_nav)/maps/test_map.yaml"/>
  7. <!-- The move_base node -->
  8. <node pkg="move_base" type="move_base" respawn="false" name="move_base" clear_params="true" output="screen">
  9. <rosparam file="$(find rbx1_nav)/config/fake/costmap_common_params.yaml" command="load" ns="global_costmap" />
  10. <rosparam file="$(find rbx1_nav)/config/fake/costmap_common_params.yaml" command="load" ns="local_costmap" />
  11. <rosparam file="$(find rbx1_nav)/config/fake/local_costmap_params.yaml" command="load" />
  12. <rosparam file="$(find rbx1_nav)/config/fake/global_costmap_params.yaml" command="load" />
  13. <rosparam file="$(find rbx1_nav)/config/fake/base_local_planner_params.yaml" command="load" />
  14. <rosparam file="$(find rbx1_nav)/config/nav_test_params.yaml" command="load" />
  15. </node>
  16. <!-- Run fake localization compatible with AMCL output -->
  17. <node pkg="fake_localization" type="fake_localization" name="fake_localization" clear_params="true" output="screen">
  18. <remap from="base_pose_ground_truth" to="odom" />
  19. <param name="global_frame_id" value="map" />
  20. <param name="base_frame_id" value="base_footprint" />
  21. </node>
  22. <!-- Start the navigation test -->
  23. <node pkg="rbx1_nav" type="nav_test.py" name="nav_test" output="screen">
  24. <param name="rest_time" value="1" />
  25. <param name="fake_test" value="true" />
  26. </node>
  27. </launch>