Configuration

All settings are in tcc_ros/config/config.yaml. tcc_ros.launch loads the file onto the ROS parameter server, where the nodes read keys such as models/llm_provider, and the tcc-ironl toolkit reads the same keys from its bundled copy of the file (kept identical by the tests; pass --config tcc_ros/config/config.yaml to use yours). Edit the file, then restart tcc_ros.launch for the changes to take effect.

Language model (models)

Key

Default

Meaning

llm_provider

openai

One of openai, claude, gemini, deepseek, llama.cpp.

llm_name

gpt-6-luna

Model for that provider. Empty means the provider default (below).

llm_max_tokens

500

Maximum tokens in the LLM’s answer.

llm_temperature

0

Sampling temperature. Models that only accept their default temperature are retried without it.

llm_endpoint

""

Custom endpoint: a llama.cpp server, or an OpenAI-compatible URL for the openai provider. Empty means the provider’s public API.

llm_timeout_seconds

30

Request timeout.

llm_api_key

""

API key. Leave empty and use the environment variable instead, so the key never ends up in public.

The API key is read from llm_api_key if set, otherwise from the provider’s environment variable:

Provider

Environment variable

Default model

openai

OPENAI_API_KEY

gpt-6-luna

claude

ANTHROPIC_API_KEY

claude-sonnet-5-5

gemini

GEMINI_API_KEY

gemini-3.5-flash

deepseek

DEEPSEEK_API_KEY

deepseek-v4-flash

llama.cpp

none

the model loaded by the server (default endpoint http://localhost:8000/completion)

Note

Hosted providers rename and retire models from time to time. If requests fail with model not found, choose a current model from your provider’s model list and set it as llm_name.

Perception models (models)

Key

Default

Meaning

clip_model

openai/clip-vit-base-patch32

Hugging Face CLIP model used to label segments.

sam_model_type

vit_b

Segment Anything variant: vit_b, vit_l or vit_h. Must match the checkpoint.

sam_checkpoint

sam_vit_b_01ec64.pth

File name or absolute path of the SAM checkpoint.

A bare sam_checkpoint file name is looked up, in order, at $SAM_MODEL_PATH, in tcc_ros/models/, tcc_ros/src/tcc_ros/models/, <repo>/models/ (the Docker Compose mount), tcc_ros/src/tcc_ros/ and the toolkit cache ($TCC_IRONL_MODELS, default ~/.cache/tcc_ironl). tcc-ironl download-weights downloads into that cache. The perception node also loads MiDaS through torch.hub on first start, which needs internet access once.

Topics (topics)

Key

Default

Used by

cmd_vel

/cmd_vel

Action executor (velocity commands).

odom

/odom

Action executor. The perception node subscribes to /odom directly.

camera_color

/camera_face/color/image_raw

Perception node (RGB).

camera_depth

/camera_face/depth/image_raw

Perception node (depth, synchronised with RGB).

The camera defaults match the Go1 setup; change them to your camera’s topics on other robots. Navigation goals are sent to the move_base action server; the move_base_client entry is reserved.

Speeds (speeds)

default_linear_speed (0.2 m/s), default_angular_speed (0.5), maximum_speed (1.0) and minimum_speed (0.2) are used when a command gives no speed, or says “maximum”/”minimum”. Both the parser and the executor read them.

Perception (perception)

Key

Meaning

camera_fx, camera_fy, camera_cx, camera_cy

Pinhole intrinsics of the RGB-D camera, used to project detections to 3D.

camera_frame, base_frame

TF frames of the optical sensor and the camera body.

default_class_labels

Object labels CLIP chooses from.

color_labels

Colour prompts used to describe objects.

detection_confidence_threshold, mask_quality, energy_threshold

Filtering thresholds for detections and SAM masks.

device_preference, depth_sigma, sam_confidence, kf_process_noise and clip_label_set are reserved entries with no effect in this version. To save the SAM masks for debugging, set the node’s private parameter with rosparam set /tcc_main/debug_masks true.

Destinations

Named places for goal-directed navigation. Each entry has a slug, a display name that is shown to the LLM, optional aliases, and map coordinates:

destinations:
  kitchen:
    display_name: "Kitchen"
    aliases: ["kitchen", "pantry"]
    coords: {x: 5.3120069, y: -13.078762, z: 0.0}