LoadMap.srv 473 B

123456789101112131415
  1. # URL of map resource
  2. # Can be an absolute path to a file: file:///path/to/maps/floor1.yaml
  3. # Or, relative to a ROS package: package://my_ros_package/maps/floor2.yaml
  4. string map_url
  5. ---
  6. # Result code defintions
  7. uint8 RESULT_SUCCESS=0
  8. uint8 RESULT_MAP_DOES_NOT_EXIST=1
  9. uint8 RESULT_INVALID_MAP_DATA=2
  10. uint8 RESULT_INVALID_MAP_METADATA=3
  11. uint8 RESULT_UNDEFINED_FAILURE=255
  12. # Returned map is only valid if result equals RESULT_SUCCESS
  13. nav_msgs/OccupancyGrid map
  14. uint8 result