sync_range_fusion.launch 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <!-- -->
  2. <launch>
  3. <!-- send table.xml to param server -->
  4. <arg name="car" default="true" />
  5. <arg name="pedestrian" default="false" />
  6. <arg name="obj_car" default="obj_car" />
  7. <arg name="obj_person" default="obj_person" />
  8. <arg name="vscan_image" default="false" />
  9. <arg name="points_image" default="true" />
  10. <arg name="scan_image" default="false" />
  11. <group ns="sync_ranging">
  12. <group if="$(arg car)">
  13. <group ns="obj_car">
  14. <node pkg="synchronization" type="sync_range_fusion" name="sync_$(arg obj_car)_ranging">
  15. <remap from="/image_obj" to="/$(arg obj_car)/image_obj"/>
  16. <remap from="/vscan_image" to="/vscan_image" if="$(arg vscan_image)"/>
  17. <remap from="/vscan_image" to="/points_image" if="$(arg points_image)"/>
  18. <remap from="/vscan_image" to="/scan_image" if="$(arg scan_image)"/>
  19. <remap from="/image_obj_ranged" to="/$(arg obj_car)/image_obj_ranged"/>
  20. <remap from="/sync_ranging/image_obj" to="/sync_ranging/$(arg obj_car)/image_obj"/>
  21. <remap from="/sync_ranging/$(arg obj_car)/vscan_image" to="/sync_ranging/$(arg obj_car)/vscan_image" if="$(arg vscan_image)" />
  22. <remap from="/sync_ranging/$(arg obj_car)/vscan_image" to="/sync_ranging/$(arg obj_car)/points_image" if="$(arg points_image)" />
  23. <remap from="/sync_ranging/$(arg obj_car)/vscan_image" to="/sync_ranging/$(arg obj_car)/scan_image" if="$(arg scan_image)" />
  24. </node>
  25. </group>
  26. </group>
  27. <group if="$(arg pedestrian)">
  28. <group ns="obj_person">
  29. <node pkg="synchronization" type="sync_range_fusion" name="sync_$(arg obj_person)_ranging">
  30. <remap from="/image_obj" to="/$(arg obj_person)/image_obj"/>
  31. <remap from="/vscan_image" to="/vscan_image" if="$(arg vscan_image)"/>
  32. <remap from="/vscan_image" to="/points_image" if="$(arg points_image)"/>
  33. <remap from="/vscan_image" to="/scan_image" if="$(arg scan_image)"/>
  34. <remap from="/image_obj_ranged" to="/$(arg obj_person)/image_obj_ranged"/>
  35. <remap from="/sync_ranging/image_obj" to="/sync_ranging/$(arg obj_person)/image_obj"/>
  36. <remap from="/sync_ranging/$(arg obj_person)/vscan_image" to="/sync_ranging/$(arg obj_person)/vscan_image" if="$(arg vscan_image)" />
  37. <remap from="/sync_ranging/$(arg obj_person)/vscan_image" to="/sync_ranging/$(arg obj_person)/points_image" if="$(arg points_image)" />
  38. <remap from="/sync_ranging/$(arg obj_person)/vscan_image" to="/sync_ranging/$(arg obj_person)/scan_image" if="$(arg scan_image)" />
  39. </node>
  40. </group>
  41. </group>
  42. </group>
  43. </launch>