CreOS SDK
The CreOS SDK allows you to interact with Avular robots
 
Loading...
Searching...
No Matches
load_map.hpp
Go to the documentation of this file.
1
8namespace nav_msgs::srv {
14class LoadMap {};
24public:
25 // URL of map resource
26 // Can be an absolute path to a file: file:///path/to/maps/floor1.yaml
27 // Or, relative to a ROS package: package://my_ros_package/maps/floor2.yaml
28 std::string map_url;
29};
30
40public:
41 // Result code defintions
42 static const uint8_t RESULT_SUCCESS = 0;
43 static const uint8_t RESULT_MAP_DOES_NOT_EXIST = 1;
44 static const uint8_t RESULT_INVALID_MAP_DATA = 2;
45 static const uint8_t RESULT_INVALID_MAP_METADATA = 3;
46 static const uint8_t RESULT_UNDEFINED_FAILURE = 255;
47
48 // Returned map is only valid if result equals RESULT_SUCCESS
50 uint8_t result;
51};
52} // namespace nav_msgs::srv
ROS message class definition for OccupancyGrid.
Definition occupancy_grid.hpp:15
ROS message class definition for LoadMap::Request.
Definition load_map.hpp:23
ROS message class definition for LoadMap::Response.
Definition load_map.hpp:39
ROS service class definition for LoadMap.
Definition load_map.hpp:14
service definitions of the nav_msgs package