sync_track.launch 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  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. <group ns="sync_tracking">
  9. <group if="$(arg car)">
  10. <group ns="obj_car">
  11. <node pkg="synchronization" type="sync_track" name="sync_$(arg obj_car)_tracking">
  12. <remap from="/image_obj_ranged" to="/$(arg obj_car)/image_obj_ranged"/>
  13. <remap from="/sync_drivers/image_raw" to="/sync_drivers/image_raw"/>
  14. <remap from="/image_obj_tracked" to="/$(arg obj_car)/image_obj_tracked"/>
  15. <remap from="/sync_tracking/image_obj_ranged" to="/sync_tracking/$(arg obj_car)/image_obj_ranged"/>
  16. <remap from="/sync_tracking/image_raw" to="/sync_tracking/$(arg obj_car)/image_raw"/>
  17. </node>
  18. </group>
  19. </group>
  20. <group if="$(arg pedestrian)">
  21. <group ns="obj_person">
  22. <node pkg="synchronization" type="sync_track" name="sync_$(arg obj_person)_tracking">
  23. <remap from="/image_obj_ranged" to="/$(arg obj_person)/image_obj_ranged"/>
  24. <remap from="/sync_drivers/image_raw" to="/sync_drivers/image_raw"/>
  25. <remap from="/image_obj_tracked" to="/$(arg obj_person)/image_obj_tracked"/>
  26. <remap from="/sync_tracking/image_obj_ranged" to="/sync_tracking/$(arg obj_person)/image_obj_ranged"/>
  27. <remap from="/sync_tracking/image_raw" to="/sync_tracking/$(arg obj_person)/image_raw"/>
  28. </node>
  29. </group>
  30. </group>
  31. </group>
  32. </launch>