Skip to main content
The RobotState descriptor gives you access to sensor data—camera images, odometry, maps, and more. Declared state is automatically updated at 50Hz while your skill runs.

Declaration

Declare state dependencies as class attributes:
The system injects and updates these values automatically. Always check for None on first access.

Available State

Camera Image

The main camera image as a base64-encoded JPEG:

Odometry

Current position, orientation, and velocity:

Map

The occupancy grid map:

Head Position

Current head tilt angle:

Example: CaptureImages

A skill that captures images while rotating:

Example: MonitorPosition

A skill that tracks robot movement: