sync_obj_fusion.launch 1.5 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_obj_fusion">
  9. <group if="$(arg car)">
  10. <group ns="obj_car">
  11. <node pkg="synchronization" type="sync_obj_fusion" name="sync_$(arg obj_car)_fusion">
  12. <remap from="/obj_label" to="/$(arg obj_car)/obj_label"/>
  13. <remap from="/cluster_centroids" to="/cluster_centroids"/>
  14. <remap from="/obj_pose" to="/$(arg obj_car)/obj_pose"/>
  15. <remap from="/sync_obj_fusion/obj_label" to="/sync_obj_fusion/$(arg obj_car)/obj_label"/>
  16. <remap from="/sync_obj_fusion/cluster_centroids" to="/sync_obj_fusion/$(arg obj_car)/cluster_centroids"/>
  17. </node>
  18. </group>
  19. </group>
  20. <group if="$(arg pedestrian)">
  21. <group ns="obj_person">
  22. <node pkg="synchronization" type="sync_obj_fusion" name="sync_$(arg obj_person)_fusion">
  23. <remap from="/obj_label" to="/$(arg obj_person)/obj_label"/>
  24. <remap from="/cluster_centroids" to="/cluster_centroids"/>
  25. <remap from="/obj_pose" to="/$(arg obj_person)/obj_pose"/>
  26. <remap from="/sync_obj_fusion/obj_label" to="/sync_obj_fusion/$(arg obj_person)/obj_label"/>
  27. <remap from="/sync_obj_fusion/cluster_centroids" to="/sync_obj_fusion/$(arg obj_person)/cluster_centroids"/>
  28. </node>
  29. </group>
  30. </group>
  31. </group>
  32. </launch>