sync_obj_reproj.launch 1.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. <launch>
  2. <!-- send table.xml to param server -->
  3. <arg name="car" default="true" />
  4. <arg name="pedestrian" default="false" />
  5. <arg name="obj_car" default="obj_car" />
  6. <arg name="obj_person" default="obj_person" />
  7. <group ns="sync_reprojection">
  8. <group if="$(arg car)">
  9. <group ns="obj_car">
  10. <node pkg="synchronization" type="sync_obj_reproj" name="sync_$(arg obj_car)_reprojection">
  11. <remap from="/image_obj_tracked" to="/$(arg obj_car)/image_obj_tracked"/>
  12. <remap from="/current_pose" to="/current_pose"/>
  13. <remap from="/obj_label" to="/$(arg obj_car)/obj_label"/>
  14. <remap from="/sync_reprojection/image_obj_tracked" to="/sync_reprojection/$(arg obj_car)/image_obj_tracked"/>
  15. <remap from="/sync_reprojection/current_pose" to="/sync_reprojection/$(arg obj_car)/current_pose"/>
  16. </node>
  17. </group>
  18. </group>
  19. <group if="$(arg pedestrian)">
  20. <group ns="obj_person">
  21. <node pkg="synchronization" type="sync_obj_reproj" name="sync_$(arg obj_person)_reprojection">
  22. <remap from="/image_obj_tracked" to="/$(arg obj_person)/image_obj_tracked"/>
  23. <remap from="/current_pose" to="/current_pose"/>
  24. <remap from="/obj_label" to="/$(arg obj_person)/obj_label"/>
  25. <remap from="/sync_reprojection/image_obj_tracked" to="/sync_reprojection/$(arg obj_person)/image_obj_tracked"/>
  26. <remap from="/sync_reprojection/current_pose" to="/sync_reprojection/$(arg obj_person)/current_pose"/>
  27. </node>
  28. </group>
  29. </group>
  30. </group>
  31. </launch>