load_map
Service type: fourier_msgs/srv/LoadMap
File
fourier_msgs/srv/LoadMap.srv
Description
Loads a map from an archive directory and sets the robot's initial two-dimensional pose. The service loads the archive, writes the map to navigation, sets the pose, and persists the current map.
Request
| Element | Type | Description |
|---|---|---|
| map_path | string | Archive directory to load. |
| x | float64 | Initial x coordinate in meters. |
| y | float64 | Initial y coordinate in meters. |
| z | float64 | IDL compatibility field; ignored. |
| yaw | float64 | Initial yaw in radians. |
Response
| Element | Type | Description |
|---|---|---|
| result | uint32 | 0 when loading, pose setup, and persistence all succeed; 1 otherwise. |
| message | string | ok or a failure description. |
Map archive
map_path must point to a loadable GRW map-archive directory. Its internal layout is not a public development interface; create archives with SaveCompositeMap.