Real-Robot Deployment
ReLI communicates with the robot through rosbridge: the robot runs its ROS stack and a rosbridge server, and ReLI uses ROS topics and actions over a WebSocket. In our experiments, we used this setup with the ROMR wheeled robot on ROS 1 Noetic. ROS 1 and ROS 2 share one configuration format; only robot.rosbridge.ros_version and the topic names differ.
1. On the robot
ROS 1 (Noetic):
sudo apt install ros-noetic-rosbridge-server
roslaunch rosbridge_server rosbridge_websocket.launch # port 9090
# plus the robot's bringup, map server, AMCL and move_base
ROS 2 (Humble / Jazzy):
sudo apt install ros-$ROS_DISTRO-rosbridge-server
ros2 launch rosbridge_server rosbridge_websocket_launch.xml
# plus the robot's bringup, localization and Nav2
Without a native installation, rosbridge can also run in a container (docker/rosbridge.Dockerfile; see Getting Started).
2. Interfaces ReLI uses
Purpose |
Default topic / action |
Type |
|---|---|---|
Velocity commands |
|
|
Odometry (motion loops) |
|
|
Pose in the map frame |
|
|
Navigation |
|
|
Colour image |
e.g. |
|
Depth image |
e.g. |
|
Camera intrinsics |
|
|
Instructions in |
|
|
Replies out |
|
|
Images out |
|
|
Emergency stop |
|
|
All the topic names are under robot.rosbridge.topics in the configuration. If the navigation action is unavailable, ReLI falls back to a built-in point controller without obstacle avoidance.
Depth must be aligned to the colour image (same resolution and viewpoint). For RealSense cameras, use the aligned_depth_to_color topic. Over slow networks, prefer compressed colour images and keep depth_throttle_ms at a few hundred milliseconds, as depth is only needed when an object is being grounded.
3. Camera extrinsics
Object positions are transformed from the camera into the robot base frame using camera.extrinsics. This is the pose of the camera body in the base frame (REP 103: x forward, y left, z up; angles in degrees, pitch positive = looking down):
camera:
source: robot
extrinsics: {x: 0.20, y: 0.0, z: 0.35, roll_deg: 0, pitch_deg: 10, yaw_deg: 0}
ReLI converts this to the optical-frame convention itself. Intrinsics come from camera_info, from camera.intrinsics, or as a last resort from camera.hfov_deg.
4. Run
reli web -c romr_ros1 # browser UI on the ReLI machine
reli ros -c romr_ros1 # headless; talk via /reli/input
rostopic pub -1 /reli/input std_msgs/String "data: 'Geh in die Küche'" # ROS 1
ros2 topic pub --once /reli/input std_msgs/msg/String "{data: 'Ve a la cocina'}" # ROS 2
5. Destinations
Destinations are poses in the map frame:
destinations:
kitchen: {name: Kitchen, aliases: [canteen], x: 5.31, y: -13.08, yaw_deg: 90}
Destinations are checked against safety.workspace when the configuration is loaded.