wayarea2grid_option.launch 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <launch>
  2. <!-- node parameters -->
  3. <arg name="sensor_frame" default="velodyne" />
  4. <arg name="grid_frame" default="map" />
  5. <arg name="grid_resolution" default="0.3" />
  6. <arg name="grid_length_x" default="150" />
  7. <arg name="grid_length_y" default="150" />
  8. <arg name="grid_position_x" default="0" />
  9. <arg name="grid_position_y" default="0" />
  10. <arg name="grid_position_z" default="-2" />
  11. <arg name="use_ll2" default="false" />
  12. <!-- Launch node -->
  13. <group if="$(arg use_ll2)">
  14. <node pkg="object_map" type="wayarea2grid_lanelet2" name="wayarea2grid_lanelet2" output="screen">
  15. <param name="sensor_frame" value="$(arg sensor_frame)" />
  16. <param name="grid_frame" value="$(arg grid_frame)" />
  17. <param name="grid_resolution" value="$(arg grid_resolution)" />
  18. <param name="grid_length_x" value="$(arg grid_length_x)" />
  19. <param name="grid_length_y" value="$(arg grid_length_y)" />
  20. <param name="grid_position_x" value="$(arg grid_position_x)" />
  21. <param name="grid_position_y" value="$(arg grid_position_y)" />
  22. <param name="grid_position_z" value="$(arg grid_position_z)" />
  23. </node>
  24. </group>
  25. <group unless="$(arg use_ll2)">
  26. <node pkg="object_map" type="wayarea2grid" name="wayarea2grid" output="screen">
  27. <param name="sensor_frame" value="$(arg sensor_frame)" />
  28. <param name="grid_frame" value="$(arg grid_frame)" />
  29. <param name="grid_resolution" value="$(arg grid_resolution)" />
  30. <param name="grid_length_x" value="$(arg grid_length_x)" />
  31. <param name="grid_length_y" value="$(arg grid_length_y)" />
  32. <param name="grid_position_x" value="$(arg grid_position_x)" />
  33. <param name="grid_position_y" value="$(arg grid_position_y)" />
  34. <param name="grid_position_z" value="$(arg grid_position_z)" />
  35. </node>
  36. </group>
  37. </launch>