Search Mode: Search through the graph for a node with a description that has high semantic similarity to the goal. If such a node is found and the similarity is above a threshold, the robot will move directly to that node. Exploration Mode: If no node with high enough semantic similarity is found, the robot will continue to explore by expanding nodes and assessing their scores and descriptions relative to the goal.
src/: Contains the source code of Reasoned_Explorerutils/: Helper functions.simulator_utils/: Helper functions for AirsimLLM_functions: All llm functions goes hereLLM_functions_async: Paralleled LLM functionssimulate: Main script for experiments in simulator, where you specify the goal and the algorithm to runreal: An example script for experiments in real environment, need additional local planners/GPS implementation for your own robot setup.exploration_simulator: The logic script for graph building and visualizationRRT: The main agent script for Reasoned-Explorer, where hullucination and action happensVLM: Kosmos-2 VLM can be queried on our serversettings.json: Default settings for AirSim's sensors, you could add cameras and add other sensors here.
-
Install requirements.txt
-
Setup:
- Setup Google API-key
- Setup OpenAI API-key
-
Add OpenAI API-Key to environment variable:
nano ~/.bashrcexport OPENAI_API_KEY="your_api_key_here"source ~/.bashrcconda activate reasoned #reactivate conda environmentecho $OPENAI_API_KEY #Test if your API keys is added correctly
-
Example Use:
python run.py --exp_name "Forest Exploration" --type RRT --goal "Find the river" --branches 2 --rounds 3
- Install habitat follows
conda install cmake=3.14.0conda install habitat-sim withbullet -c conda-forge -c aihabitatgit clone --branch stable https://github.com/facebookresearch/habitat-lab.gitcd habitat-labpip install -e .
- Activate conda environment
If you find our work useful in your research, please consider citing our paper. Below is the BibTeX entry:
@misc{xie2023reasoning,
title={Reasoning about the Unseen for Efficient Outdoor Object Navigation},
author={Quanting Xie and Tianyi Zhang and Kedi Xu and Matthew Johnson-Roberson and Yonatan Bisk},
year={2023},
eprint={2309.10103},
archivePrefix={arXiv},
primaryClass={cs.RO}
}