You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
2.2 KiB

  1. <launch>
  2. <arg name="rviz" default="true" doc="whether to show Rviz" />
  3. <arg name="map_yaml" default="''" doc="previously captured FUNMAP map (optional)" />
  4. <arg name="debug_directory" default="$(env HELLO_FLEET_PATH)/debug/" doc="directory where debug imagery is saved" />
  5. <!-- REALSENSE D435i -->
  6. <include file="$(find stretch_core)/launch/d435i_high_resolution.launch"></include>
  7. <node name="d435i_configure" pkg="stretch_core" type="d435i_configure" output="screen">
  8. <!--<param name="initial_mode" type="string" value="Default"/>-->
  9. <param name="initial_mode" type="string" value="High Accuracy"/>
  10. </node>
  11. <!-- -->
  12. <!-- FRUSTUM FIELD OF VIEW VISUALIZATION -->
  13. <node name="d435i_frustum_visualizer" pkg="stretch_core" type="d435i_frustum_visualizer" output="screen" />
  14. <!-- -->
  15. <!-- STRETCH DRIVER -->
  16. <param name="/stretch_driver/broadcast_odom_tf" type="bool" value="false"/>
  17. <param name="/stretch_driver/fail_out_of_range_goal" type="bool" value="false"/>
  18. <include file="$(find stretch_core)/launch/stretch_driver.launch" pass_all_args="true"/>
  19. <!-- -->
  20. <!-- FUNMAP -->
  21. <node name="funmap" pkg="stretch_funmap" type="funmap" output="screen" args="--load_map $(arg map_yaml)">
  22. <param name="debug_directory" type="string" value="$(arg debug_directory)"/>
  23. </node>
  24. <!-- -->
  25. <!-- IMU FILTER -->
  26. <include file="$(find stretch_core)/launch/imu_filter.launch" />
  27. <!-- -->
  28. <!-- ROBOT LOCALIZATION FILTER -->
  29. <include file="$(find stretch_core)/launch/stretch_ekf.launch" />
  30. <!-- -->
  31. <!-- LASER RANGE FINDER -->
  32. <include file="$(find stretch_core)/launch/rplidar.launch" />
  33. <!-- -->
  34. <!-- LASER SCAN MATCHER FOR ODOMETRY -->
  35. <include file="$(find stretch_core)/launch/stretch_scan_matcher.launch" />
  36. <!-- -->
  37. <!-- KEYBOARD TELEOP -->
  38. <node name="keyboard_teleop" pkg="stretch_core" type="keyboard_teleop" output="screen" args='--mapping_on' />
  39. <!-- -->
  40. <!-- VISUALIZE -->
  41. <node name="rviz" pkg="rviz" type="rviz" output="screen" args="-d $(find stretch_funmap)/rviz/stretch_mapping.rviz" if="$(arg rviz)" />
  42. <!-- -->
  43. </launch>