Upload map data
Upload map data
This is a multi-part request composed two parts:
- An object which defines the map metadata
- A PNG image of the map
The bottom left corner of the image needs to match the (metadata.x, metadata.y) coordinate of the real world.
POST
Upload map data
Documentation Index
Fetch the complete documentation index at: https://inorbitinc.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
InOrbit appKey authenticates API requests using a token.
You can obtain your appKey in the Authentication docs.
Path Parameters
The robot's id
Body
multipart/form-data
Multipart request with map metadata and map image.
A JSON string containing the map metadata object with the following properties:
- mapId (string, required): The map identifier
- label (string, required): The map label
- frameId (string, optional): The frame identifier
- resolution (number, required): Map resolution
- x (number, required): Map origin X coordinate
- y (number, required): Map origin Y coordinate
- formatVersion (number, optional): Map format version. If not provided, it defaults to 1.
Example:
"{\"mapId\":\"test-map-api\",\"label\":\"map\",\"frameId\":\"map\",\"resolution\":0.05,\"x\":0.0,\"y\":0.0,\"formatVersion\":2}"
Map image in PNG or JPEG format
Response
Map saved successfully.
Retrieves a list of maps available for a robot
Previous
Retrieves the robot's current map metadata
Next