@article{DIN2026105404,
title = {Onto-LLM-TAMP: Knowledge-oriented Task and Motion Planning using Large Language Models},
author = {Muhayy Ud Din and Jan Rosell and Waseem Akram and Isiah Zaplana and Maximo A. Roa and Irfan Hussain},
journal = {Robotics and Autonomous Systems},
pages = {105404},
year = {2026},
issn = {0921-8890},
doi = {https://doi.org/10.1016/j.robot.2026.105404},
url = {https://www.sciencedirect.com/science/article/pii/S0921889026000771}
}
To run the code create a conda environment with python 3.9 using the below command
conda create --name tamp-env python=3.9
conda activate tamp-env
To download the Spacy language model, run the following command
python -m spacy download en_core_web_sm
git clone https://github.com/Muhayyuddin/llm-tamp.git
cd llm-tamp
pip install -r requirements.txtPlease, create a folder openai_keys under the project directory; and create a file openai_key.json under the folder openai_keys; fill in this json file with your openAI API key:
{
"key": "",
"org": "",
"proxy" : ""
}To run the ontology-driven LLM-TAMP with the following scene, run the command below in the terminal
python main.py --config-name=llm_tamp env=easy_ycb_objects_scene planner=llm_sample_params max_llm_calls=10 play_traj=true use_gui=true
To run the ontology-driven LLM-TAMP with the following scene, run the command below in the terminal
python main.py --config-name=llm_tamp env=easy_ycb_tabe_obj planner=llm_sample_params max_llm_calls=10 play_traj=true use_gui=true
We provided the minimal classes and rules of our developed ontological knowledge to reproduce the results. The full Ontology rdf file and clean version of the code will be updated on acceptance.
Thank you for the nice work done by LLM3, FoundationPose, and FoundationPose-ROS2 , we use some code from these repositories to implement our Ontology-deriven-LLM-TAMP framework.
https://github.com/AssassinWS/LLM-TAMP


