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 |
|---|---|---|
|
|
One of |
|
|
Model for that provider. Empty means the provider default (below). |
|
|
Maximum tokens in the LLM’s answer. |
|
|
Sampling temperature. Models that only accept their default temperature are retried without it. |
|
|
Custom endpoint: a llama.cpp server, or an OpenAI-compatible URL for the |
|
|
Request timeout. |
|
|
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 |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
none |
the model loaded by the server (default endpoint |
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 |
|---|---|---|
|
|
Hugging Face CLIP model used to label segments. |
|
|
Segment Anything variant: |
|
|
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 |
|---|---|---|
|
|
Action executor (velocity commands). |
|
|
Action executor. The perception node subscribes to |
|
|
Perception node (RGB). |
|
|
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 |
|---|---|
|
Pinhole intrinsics of the RGB-D camera, used to project detections to 3D. |
|
TF frames of the optical sensor and the camera body. |
|
Object labels CLIP chooses from. |
|
Colour prompts used to describe objects. |
|
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}