Skip to main content

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​

ElementTypeDescription
map_pathstringArchive directory to load.
xfloat64Initial x coordinate in meters.
yfloat64Initial y coordinate in meters.
zfloat64IDL compatibility field; ignored.
yawfloat64Initial yaw in radians.

Response​

ElementTypeDescription
resultuint320 when loading, pose setup, and persistence all succeed; 1 otherwise.
messagestringok 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.