kittiplayer.launch 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?xml version="1.0"?>
  2. <launch>
  3. <arg name="date" value="2011_09_26" />
  4. <arg name="kitti_data" value="$(arg date)_drive_0093_sync" />
  5. <arg name="fps" default="1" />
  6. <arg name="directory"
  7. default="$(find kitti_player)/dataset/$(arg date)/$(arg kitti_data)/"
  8. />
  9. <!-- relay topic -->
  10. <node pkg="topic_tools" type="relay" name="relay_points" args="/kitti_player/hdl64e /points_raw"/>
  11. <node pkg="topic_tools" type="relay" name="relay_image" args="/kitti_player/color/left/image_rect /image_raw"/>
  12. <!-- calibration publisher -->
  13. <include file="$(find kitti_launch)/launch/xml/camera_lidar.xml" />
  14. <include file="$(find kitti_launch)/launch/xml/points_raw.xml" />
  15. <!-- viewer -->
  16. <!--<node pkg="viewers" type="points_image_viewer" name="points_image_viewer">
  17. <remap from="/image_raw" to="/kitti_player/color/left/image_rect"/>
  18. </node>-->
  19. <!-- publish anottation box-->
  20. <node pkg="kitti_box_publisher" type="kitti_box_publisher.py" name="kitti_box_publisher" args="$(arg directory)/tracklet_labels.xml" output="screen"/>
  21. <node name="kitti_player" pkg="kitti_player" type="kitti_player"
  22. args= "-d $(arg directory) -f $(arg fps) -v -g -i -C -G -T"
  23. />
  24. </launch>