Installation
TCC-IRoNL is in two parts. The toolkit (tcc-ironl) is the ROS-free language layer and installs with pip on any machine. The ROS stack (tcc_ros plus the simulation packages) runs on the robot or in Gazebo and builds on ROS Noetic. Install only the toolkit if you want to try or develop the language layer; install the full stack, with Docker or natively, to drive a robot.
Toolkit only (pip)
pip install tcc-ironl # parser, destination matching, CLI
pip install "tcc-ironl[openai]" # + OpenAI SDK (needed for the openai provider)
pip install "tcc-ironl[all]" # + OpenAI SDK and sentence-transformers
Python 3.8 or newer is required. The Claude, Gemini, DeepSeek and llama.cpp providers only need requests, which is installed by default. Without sentence-transformers, destination matching uses exact and fuzzy matching and skips the embedding stage; see Configuration.
To work on the toolkit from a checkout:
git clone https://github.com/LinusNEP/TCC-IRoNL.git
cd TCC-IRoNL
pip install -e ".[all,test]"
pytest
Full stack with Docker (recommended)
Requirements: Ubuntu 20.04 or newer (or any Linux with Docker), an NVIDIA GPU with CUDA 11.8+, Docker with Docker Compose, and the NVIDIA Container Toolkit. Add your user to the docker group (sudo usermod -aG docker $USER && newgrp docker).
git clone https://github.com/LinusNEP/TCC-IRoNL.git
cd TCC-IRoNL
cp env.tcc-ironl-denv .env # then set at least one API key in .env
mkdir -p models # mounted into the containers for model weights
xhost +local:docker # let the containers open Gazebo, RViz and the chat GUI
docker compose up --build
Compose starts roscore, the Gazebo world with the Unitree Go1, the navigation stack, the LLM/VLM backend and the chat GUI, in that order. The image build downloads the SAM ViT-B checkpoint (~375 MB), so the first build takes a while. Continue with Get Started.
Full stack, native install
Component |
Minimum |
Recommended |
|---|---|---|
OS |
Ubuntu 20.04 |
Ubuntu 20.04 LTS |
ROS |
Noetic |
Noetic (desktop-full) |
Python |
3.8 |
3.8 (the ROS Noetic system Python) |
GPU |
NVIDIA GTX 1060 6 GB |
NVIDIA RTX 3060 or better |
CUDA |
11.3 |
11.8 or 12.x |
RAM |
16 GB |
32 GB |
Storage |
20 GB free |
50 GB SSD |
1. Install ROS Noetic following the official guide, then the navigation and Gazebo packages:
sudo apt update
sudo apt install -y ros-noetic-navigation ros-noetic-move-base ros-noetic-amcl \
ros-noetic-map-server ros-noetic-gmapping ros-noetic-teb-local-planner \
ros-noetic-gazebo-ros-pkgs ros-noetic-gazebo-plugins
Note
If apt update reports an expired or missing ROS key, install the ros-apt-source package, which provides the current signing key, as described in the ROS signing key migration guide.
2. Create a workspace and clone:
mkdir -p ~/catkin_ws/src && cd ~/catkin_ws/src
git clone https://github.com/LinusNEP/TCC-IRoNL.git
3. Install the Python dependencies. The script creates a virtualenv at ~/catkin_ws/TCC-IRoNLEnv/ with PyTorch (CUDA 11.8), Segment Anything, the LLM SDKs and the tcc-ironl toolkit (editable, from your checkout):
cd ~/catkin_ws
bash src/TCC-IRoNL/install_python_deps.sh
4. Download the SAM weights into the toolkit cache (~/.cache/tcc_ironl), where the perception node finds them:
source ~/catkin_ws/TCC-IRoNLEnv/bin/activate
tcc-ironl download-weights # vit_b, ~375 MB; --model vit_l / vit_h for the larger ones
5. Set an API key for the provider configured in tcc_ros/config/config.yaml (OpenAI by default):
echo 'export OPENAI_API_KEY="sk-..."' >> ~/.bashrc # or ANTHROPIC_API_KEY, GEMINI_API_KEY, DEEPSEEK_API_KEY
source ~/.bashrc
6. Build the workspace:
cd ~/catkin_ws
rosdep install --from-paths src --ignore-src -r -y
catkin_make
echo "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrc && source ~/.bashrc
7. Check the setup:
source ~/catkin_ws/TCC-IRoNLEnv/bin/activate
tcc-ironl doctor
doctor reports the Python version, whether the configured provider’s API key is set, CUDA availability, where the SAM checkpoint was found and whether ROS is sourced.