<!-- -*- mode: XML -*- --> <!-- rostest of publishing a transformed PointCloud from PCAP data. --> <launch> <!-- define transforms for static vehicle --> <include file="$(find velodyne_pointcloud)/tests/static_vehicle_tf.launch" /> <!-- start nodelet manager and driver nodelets --> <include file="$(find velodyne_driver)/launch/nodelet_manager.launch"> <arg name="pcap" value="$(find velodyne_pointcloud)/tests/class.pcap"/> </include> <!-- start transform nodelet --> <include file="$(find velodyne_pointcloud)/launch/transform_nodelet.launch"> <arg name="calibration" value="$(find velodyne_pointcloud)/params/64e_utexas.yaml"/> <param name="fixed_frame" value="odom"/> <param name="target_frame" value="velodyne"/> </include> <!-- Verify PointCloud2 publication rate. Unfortunately, transformed clouds run very slowly, they spend too much time waiting for the /velodyne to /map transform to be available. --> <test test-name="transform_nodelet_hz_test" pkg="rostest" type="hztest" name="hztest_transform_nodelet_64e" > <param name="hz" value="10.0" /> <param name="hzerror" value="7.0" /> <param name="test_duration" value="5.0" /> <param name="topic" value="velodyne_points" /> <param name="wait_time" value="2.0" /> </test> </launch>