Spatial annotations define named locations on maps that can be referenced by missions, expressions, and other features. The most common use is defining waypoints—specific positions robots can navigate to.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.
When to Use
- Named waypoints: Define docking stations, pickup points, or delivery locations
- Mission integration: Reference waypoints by name in mission definitions instead of raw coordinates
- Custom metadata: Attach properties like zone, priority, or category to locations
Scope
Spatial annotations can only be defined forrobot or tag scopes. For tags, it must be an existing location tag in the account.
Spec Fields
| Field | Type | Required | Description |
|---|---|---|---|
frameId | string | Yes | Coordinate frame (typically "map"). |
label | string | Yes | Human-readable name. |
type | string | Yes | Annotation type. Currently "waypoint" is supported. |
data | object | No | Type-specific data (see below). |
properties | object | No | Arbitrary key/value metadata. |
Waypoint Data
Fortype: waypoint, the data object contains:
| Field | Type | Description |
|---|---|---|
x | number | X position in meters. |
y | number | Y position in meters. |
theta | number | Heading in radians. |
Examples
Simple Waypoint
Waypoint with Properties
Multiple Waypoints for a Location
Using Waypoints in Missions
Reference waypoints by theirid in mission definitions:
Related Documentation
- Mission Definitions — Use waypoints in mission steps
- Maps — Coordinate systems and frames