Configuration

We configure ReLI with a single YAML file in which every option is typed, and unknown keys are rejected. The resolved configuration:

reli config -c sim

Bundled examples

We bundle the following examples, which -c accepts by name as well as file paths:

Name

Setup

sim

Simulated wheeled robot with the office destinations and objects

webcam_local

sim with a webcam, SAM 3 and monocular depth

romr_ros1

ROMR on ROS 1 Noetic with move_base, through rosbridge

ros2_nav2

ROS 2 robot with Nav2 and an RGB-D camera

extends: romr_ros1                 # bundled name
robot:
  rosbridge: {host: 10.0.0.42}

Language model

llm:
  provider: openai                 # openai | openai_compatible | anthropic | gemini
  model: gpt-5.4-mini
  base_url: null                   # required for openai_compatible
  structured_output: auto          # auto | schema | json | prompt
  attach_image: false              # send the camera frame to a vision-language model

Destinations

The model chooses configured destination keys:

destinations:
  kitchen: {name: Kitchen, aliases: [canteen], x: 5.31, y: -13.08, yaw_deg: 90}

Prompts

Prompt and robot messages are in src/reli/resources/prompts.yaml. prompts_file: points to a YAML file.

Reference

top level

Key

Type

Default

Description

destinations

dict[str, Destination]

{}

named places in the map frame: key -> {name, aliases, x, y, yaw_deg}

prompts_file

str | null

null

override the packaged prompt templates

robot

Key

Type

Default

Description

name

str

'ReLI robot'

name the robot uses for itself

description

str

''

free-text identity shown to the language model (design, links, …)

backend

sim | rosbridge

'sim'

robot connection

robot.limits

Key

Type

Default

Description

linear_speed_default

float

0.2

m/s

linear_speed_min

float

0.05

m/s

linear_speed_max

float

1.0

m/s

angular_speed_default_deg

float

30.0

deg/s

angular_speed_max_deg

float

90.0

deg/s

linear_accel

float

0.5

m/s^2

angular_accel_deg

float

120.0

deg/s^2

robot.control

Key

Type

Default

Description

rate_hz

float

20.0

goal_tolerance_m

float

0.2

navigation success radius

timeout_factor

float

2.0

timeout = factor * nominal duration + 2 s

navigation_timeout_s

float

300.0

heading_gain

float

2.0

P gain on heading error (1/s)

min_angular_speed_deg

float

5.0

creep speed near the target

robot.sim

Key

Type

Default

Description

realtime_factor

float

1.0

1 = real time, >1 faster, 0 = as fast as possible

objects

list[SimObject]

[]

objects visible to the simulated perception

fov_deg

float

70.0

max_range_m

float

8.0

robot.sim.start_pose

Key

Type

Default

Description

x

float

0.0

y

float

0.0

yaw_deg

float

0.0

robot.rosbridge

Key

Type

Default

Description

host

str

'localhost'

port

int

9090

ros_version

1 | 2

1

cmd_vel_stamped

bool

False

base_frame

str

'base_link'

map_frame

str

'map'

navigation_action

str | null

null

default: /move_base (ROS 1) or /navigate_to_pose (ROS 2)

depth_throttle_ms

int

300

connect_timeout_s

float

10.0

robot.rosbridge.topics

Key

Type

Default

Description

cmd_vel

str

'/cmd_vel'

odom

str

'/odom'

pose

str | null

'/amcl_pose'

geometry_msgs/PoseWithCovarianceStamped in the map frame; null = use odom

color

str | null

'/camera/color/image_raw/compressed'

depth

str | null

'/camera/aligned_depth_to_color/image_raw'

camera_info

str | null

'/camera/color/camera_info'

input

str

'/reli/input'

response

str

'/reli/response'

tts

str

'/reli/tts'

image

str

'/reli/image/compressed'

emergency_stop

str

'/reli/emergency_stop'

language

Key

Type

Default

Description

fixed

str | null

null

BCP-47 tag; when set, language detection is skipped

default

str

'en'

language before the first utterance

llm

Key

Type

Default

Description

provider

openai | openai_compatible | anthropic | gemini

'openai'

chat model provider

model

str

'gpt-5.4-mini'

model name at the provider

base_url

str | null

null

server URL for openai_compatible

api_key_env

str | null

null

env var holding the key; null = provider default (OPENAI_API_KEY, …)

max_output_tokens

int

1024

temperature

float | null

0.0

dropped automatically for models that do not accept it

timeout_s

float

60.0

retries

int

2

structured_output

auto | schema | json | prompt

'auto'

history_turns

int

6

previous exchanges kept as dialogue context

attach_image

bool

False

send the current camera frame to a vision-language model

request_options

dict

{}

extra provider-specific request body fields

planning

Key

Type

Default

Description

max_repair_attempts

int

1

self-repair rounds for invalid output

safety

Key

Type

Default

Description

enabled

bool

True

per-step limits and plan rollout

on_violation

reject | clamp

'reject'

allowed_actions

list[str] | null

null

null = whole catalogue

max_distance_m

float

10.0

max_turn_deg

float

720.0

max_wait_s

float

300.0

max_plan_steps

int

40

min_clearance_m

float

0.3

workspace

Workspace | null

null

rollout_step_m

float

0.1

stop_phrases

list[str]

21 entries

exact (normalised) utterances that stop the robot without a model call

perception

Key

Type

Default

Description

enabled

bool

True

detector

sam3 | grounding_dino | owlv2 | yolo_world | sim

'sam3'

model

str | null

null

checkpoint id; null = detector default

device

str

'auto'

score_threshold

float

0.4

mask_threshold

float

0.5

max_detections

int

20

mask_quality_threshold

float

0.4

tau_q

vocabulary

list[str]

14 entries

labels for scene descriptions and verifier distractors

approach_distance_m

float

0.6

stand-off when going to objects

perception.verifier

Key

Type

Default

Description

model

str | null

null

dual encoder, e.g. google/siglip2-base-patch16-224; null = off

temperature

float | null

null

T in Eq. 6; null = model’s learned logit scale

energy_threshold

float | null

null

reject regions with energy above this (Eq. 6); calibrate per model

crop_margin

float

0.1

perception.degradation

Key

Type

Default

Description

beta

float

1.0

sensitivity in Eq. 7

reference_luma

float

0.35

mean luma below this = dark

reference_sharpness

float

100.0

Laplacian variance below = blur

perception.depth

Key

Type

Default

Description

min_m

float

0.2

max_m

float

10.0

window_px

int

7

half-size of the centroid neighbourhood (Eq. 8)

monocular_model

str | null

'depth-anything/Depth-Anything-V2-Metric-Indoor-Small-hf'

metric depth model used when the camera has no depth; null = off

perception.tracking

Key

Type

Default

Description

gate_m

float

0.6

ttl_s

float

300.0

process_noise

float

0.01

m^2/s

noise_base_m

float

0.03

noise_per_m2

float

0.01

depth noise grows with range^2

camera

Key

Type

Default

Description

source

none | webcam | realsense | robot

'none'

webcam_index

int

0

intrinsics

Intrinsics | null

null

null = from driver or hfov_deg

hfov_deg

float

69.0

camera.extrinsics

Key

Type

Default

Description

x

float

0.0

y

float

0.0

z

float

0.0

roll_deg

float

0.0

pitch_deg

float

0.0

yaw_deg

float

0.0

camera.realsense

Key

Type

Default

Description

width

int

640

height

int

480

fps

int

30

speech

Key

Type

Default

Description

backend

browser | faster_whisper | openai

'browser'

model

str

'large-v3-turbo'

device

str

'auto'

compute_type

str

'default'

web

Key

Type

Default

Description

host

str

'127.0.0.1'

port

int

8080

video_fps

float

10.0

jpeg_quality

int

80

overlay_detections

bool

True

detection_refresh_hz

float

1.0

logging

Key

Type

Default

Description

level

DEBUG | INFO | WARNING | ERROR

'INFO'

dir

str

'runs'

interaction logs, relative to the working directory

cache_translations

bool

True