Topic Interface
Mobility
Mobility
| Topic Name | Dir | Message Type | Description |
|---|---|---|---|
| /cmd_vel | SUB | geometry_msgs/Twist | Velocity commands for robot base motion. |
| /odom | PUB | nav_msgs/Odometry | Odometry estimate (position, orientation, and velocity). |
System
System
| Topic Name | Dir | Message Type | Description |
|---|---|---|---|
| /battery_state | PUB | sensor_msgs/BatteryState | Battery level, voltage, and charging status. |
| /scan | PUB | sensor_msgs/LaserScan | LiDAR scan data from the RPLidar stack. |
Cameras
Cameras
| Topic Name | Dir | Message Type | Description |
|---|---|---|---|
| /mars/main_camera/image | PUB | sensor_msgs/Image | Main front-facing RGB stream. |
| /mars/arm/image_raw | PUB | sensor_msgs/Image | Gripper-mounted RGB camera feed for manipulation. |
| /oak/rgb/image_raw | PUB | sensor_msgs/Image | Alternative camera topic from OAK-D pipeline. |
Arm
Arm
| Topic Name | Dir | Message Type | Description |
|---|---|---|---|
| /mars/arm/state | PUB | sensor_msgs/JointState | Current arm joint states from robot actuators. |
| /mars/arm/commands | SUB | std_msgs/Float64MultiArray | Direct arm joint command input topic. |
| /leader/state | PUB | sensor_msgs/JointState | Leader arm joint states when teleoperation is enabled. |
| /joint_states | PUB | sensor_msgs/JointState | Combined joint state stream for robot visualization and tools. |
Brain
Brain
| Topic Name | Dir | Message Type | Description |
|---|---|---|---|
| /ws_messages | SUB | std_msgs/String | Incoming WebSocket payloads from cloud-side orchestration. |
| /ws_outgoing | PUB | std_msgs/String | Outgoing WebSocket payloads emitted by robot-side brain client. |
How to read PUB/SUB
The Dir column is from the robot runtime perspective.PUB means MARS publishes that topic and you subscribe to it. SUB means MARS subscribes to that topic and you can publish commands to it.

