time_monitor.launch 2.4 KB

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