WebSocket Reference
Topics are used to receive real-time information from the robot. Use the following commands to start or stop listening to specific topics.
{"enable_topic": "TOPIC_NAME"}
{"disable_topic": "TOPIC_NAME"}
Since version 2.7.0, multiple topic names are supported. This requires the supportsEnableTopicList capability flag.
{"enable_topic": ["/actions", "/alerts", "/tracked_pose"]} // since 2.7.0
{"disable_topic": ["/actions", "/alerts", "/tracked_pose"]} // since 2.7.0
Protobuf Messages
Some topics are sent as binary protobuf WebSocket frames; others use JSON text messages. A connection can receive both formats. On servers that support it, append ?pb=1 to prefer protobuf for topics available in both formats.
Binary frames have this layout:
[topic_length: 1 byte][topic: UTF-8 bytes][flags: 1 byte][publisher_index: 1 byte, optional][payload]
The topic length is the number of bytes in the topic name. Flag bit 0 indicates a gzip-compressed payload; bit 1 indicates that the publisher index byte is present. Other flag bits are reserved. Decompress the payload when necessary, then decode it as ax_proto_msgs.RosMessageWrapper. Its type identifies the message, and the corresponding payload field contains the topic data.
The RosMessageWrapper definition lists the supported message types and payloads. The protobuf source directory contains their message definitions. These definitions are also available through the @kingsimba/axbot-sdk TypeScript SDK.
Topic index
Topics are grouped by function:
- Localization — SLAM state, pose, global positioning, barcodes, and landmarks.
- Mapping — map and costmap images, incremental updates, trajectory, and map-quality diagnostics.
- Navigation & Planning — planning state, paths, follow-target control, robot model, and signals.
- Chassis & Safety — wheels, odometry, IMU, bumper, and push handle.
- Cargo & Equipment — jack, roller, rack, pallet, and trailer state.
- Perception & Cameras — point clouds, detected objects, and camera streams.
- Environment & Connectivity — nearby robots, auto doors, V2X beacons, and GNSS/INS.
- System & Power — battery, sensor power, alerts, app events, and I/O pins.
Localization
| Topic | Description |
|---|---|
/slam/state | SLAM state, position reliability, and positioning quality. |
/tracked_pose | Robot pose in the world frame. |
/global_positioning_state | Progress and result of start_global_positioning. |
/collected_barcode | Barcodes seen by the robot, with their map poses. |
/landmarks | Landmarks collected for the current map. |
Mapping
| Topic | Description |
|---|---|
/map | Current map image; updated once in localization mode, repeatedly while mapping. |
/map_v2 | Large map images served through cacheable data_url links. |
/maps/5cm/1hz | Low-resolution costmap used for path planning. |
/maps/1cm/1hz | High-resolution costmap used for collision detection. |
/incremental_map | New obstacles and cleared space detected since the map was built. |
/updated_map_slice | A grayscale slice of a freshly updated map region. |
/trajectory | The robot's trail, complete in mapping mode and trimmed in localization mode. |
/env_match_map | How well the live point cloud matches the stored map. |
/env_symmetry_map | How ambiguous the environment is for localization. |
Navigation & Planning
| Topic | Description |
|---|---|
/planning_state | Execution state of the current move action. |
/path | The planned global path. |
/local_path | The local planner's path (debug). |
/follow_target_state | Send follow-target control messages to the robot. |
/robot_model | Dynamic footprint, including an attached rack. |
/platform_monitor/travelled_distance | Distance and duration of the current move. |
/robot_signal | Turn-signal and brake-light state. |
Chassis & Safety
| Topic | Description |
|---|---|
/wheel_state | Control mode, emergency stop, and wheel release state. |
/odom_state | Lidar odometry reliability and covariance (debug). |
/fused_sensor_state | Slipping, pushing, and stillness estimates. |
/imu_state | Raw IMU data and gyro bias calibration state. |
/bumper_state | Front and rear bumper switch state. |
/push_handle_state | Push-handle mode and activation. |
Cargo & Equipment
| Topic | Description |
|---|---|
/jack_state | Jack position, progress, and self-check state. |
/roller_state | Roller state: hold, loading, or unloading. |
/detected_rack | Rack detected in front of the robot, with dimensions. |
/detected_rack_states | Real-time rack occupancy observations. |
/map_rack_states | Accumulated occupancy of all racks on the map. |
/detected_pallets | Pallets detected around the robot, with dimensions. |
/detected_trailer | Trailer detected behind the robot, with hitch geometry. |
Perception & Cameras
| Topic | Description |
|---|---|
/scan_matched_points2 | Combined LiDAR point cloud used for SLAM. |
/horizontal_laser_2d/matched | Per-device point cloud for debugging. |
/vision_detected_objects | Objects detected by the vision system (experimental). |
/rgb_cameras/front/video | H.264 video from the RGB cameras. |
/rgb_cameras/front/compressed | JPEG stills from the RGB cameras. |
/depth_camera/downward/image | Depth-camera images as base64 PNG. |
/external_rgb_camera_control | Control and data channels for external RGB cameras. |
Environment & Connectivity
| Topic | Description |
|---|---|
/nearby_robots | Other robots sensed around the robot. |
/nearby_robot_footprints | Footprints that go with /nearby_robots digests. |
/nearby_auto_doors | State and polygons of nearby automatic doors. |
/v2x_health_state | Reception health of V2X beacons. |
/devpvt | Raw GNSS/INS navigation data from the CHC sensor. |
System & Power
| Topic | Description |
|---|---|
/battery_state | Battery voltage, current, and charge level. |
/detailed_battery_state | Battery state plus cell voltages, capacity, and health. |
/sensor_manager_state | Whether the sensors are awake, awakening, or sleeping. |
/alerts | Currently active alerts. |
/app_events | Application event stream (protobuf). |
/get_device_info_brief | Request device and firmware info over the WebSocket. |
/io_pins_state | Logical IO pin state and output-pin control. |
/raw_io_board_state | Raw IO board input/output pin state. |