start.launch 1.4 KB

12345678910111213141516171819202122232425
  1. <launch>
  2. <node pkg="hdl_graph_slam" type="laser_odom" name="laser_odom" output="screen" />
  3. <node pkg="hdl_graph_slam" type="hdl_backend" name="hdl_backend" output="screen" />
  4. <node pkg="hdl_graph_slam" type="laser2cloud" name="laser2cloud" output="screen" />
  5. <!-- <node pkg="hdl_graph_slam" type="tf" name="tf" output="screen" /> -->
  6. <node name="rviz" pkg="rviz" type="rviz" args="-d $(find hdl_graph_slam)/rviz/hdl_graph_slam.rviz"/>
  7. <!-- 使用仿真时间 这个要用,不然会报错:message removed because it is too old 然后忽略数据-->
  8. <param name="use_sim_time" value="true" />
  9. <!-- 回放rosbag文件 -->
  10. <node pkg="rosbag" type="play" name="player" output="log" args="--clock /home/mj/hdl_slam/ros_yfm.bag"/>
  11. <!-- <node pkg="rosbag" type="play" name="player" output="screen" args="-clock /home/mj/hdl_slam/hdl_400.bag"/> -->
  12. <!-- /home/mj/hdl_slam/hdl_400.bag /home/mj/hdl_slam/ros_yfm.bag /home/mj/hdl_slam/IntelResearchLab.bag -->
  13. <node pkg="hdl_graph_slam" type="map2odom_publisher.py" name="map2odom_publisher" output="screen"/>
  14. <!-- <node pkg="slam_karto" type="slam_karto" name="slam_karto" output="screen">
  15. <remap from="scan" to="scan"/>
  16. <param name="odom_frame" value="odom"/>
  17. <param name="map_update_interval" value="1"/>
  18. <param name="resolution" value="0.025"/>
  19. </node> -->
  20. </launch>