Git Product home page Git Product logo

dynacon's Introduction

DynaCon: Dynamic Robot Planner with Contextual Awareness via LLMs

Authors: Gyeongmin Kim, Taehyeon Kim, Shyam Sundar Kannan, Vishnunandan L. N. Venkatesh, Donghan Kim and Byung-Cheol Min.

Submitted to IEEE International Conference on Robotics and Automation (ICRA), 2024

Project Page | arXiv | Video

Abstract: Mobile robots often rely on pre-existing maps for effective path planning and navigation. However, when these maps are unavailable, particularly in unfamiliar environments, a different approach become essential. This paper introduces DynaCon, a novel system designed to provide mobile robots with contextual awareness and dynamic adaptability during navigation, eliminating the reliance of traditional maps. DynaCon integrates real-time feedback with an object server, prompt engineering, and navigation modules. By harnessing the capabilities of Large Language Models (LLMs), DynaCon not only understands patterns within given numeric series but also excels at categorizing objects into matched spaces. This facilitates dynamic path planner imbued with contextual awareness. We validated the effectiveness of DynaCon through an experiment where a robot successfully navigated to its goal using reasoning.

This package is for ROS Noetic.

Setup

Install dependencies

$ pip install -r requirments.txt

Install husky_ur3_simulator package

husky_ur3_simulator

Install aws-robomaker-small-house-world

aws-robomaker-small-house-world

Other settings

  • Setting pattern-based reasoning simulation world
$ cd worlds_for_pattern_reasoning/world/
$ mv * ~/catkin_ws/src/husky_ur3_simulator/husky_ur3_gazebo/worlds
$ cd ..
$ cd launch/
$ mv * ~/catkin_ws/src/husky_ur3_simulator/husky_ur3_gazebo/launch
$ cd ..
$ cd ..
  • Setting categorical reasoning simulation world
$ cd worlds_for_categorical_reasoning/world/
$ mv * ~/catkin_ws/src/husky_ur3_simulator/husky_ur3_gazebo/worlds
$ cd ..
$ cd launch/
$ mv * ~/catkin_ws/src/husky_ur3_simulator/husky_ur3_gazebo/launch
$ cd ..
$ cd ..
  • Install obj_server ROS package
$ mv obj_server ~/catkin_ws/src
$ cd ~/catkin_ws && catkin_make
$ rospack profile && rosstack profile

Creating OpenAI API Key

The code relies on OpenAI API. Create an API Key at https://platform.openai.com/.

Create a file named api_key.txt in the root folder of the project and paste your OpenAI Key in the file.

How to start?

- Bring up Gazebo with the robot model
$ roslaunch husky_ur3_gazebo husky_ur3_test_world_01.launch

- Bring up RViz
$ roslaunch husky_ur3_gripper_moveit_config Omni_control.launch

- Bring up move_base
$ roslaunch husky_ur3_nav_without_map execution_without_map.launch

- Run navigation script
$ python3 scripts/navigation_with_gpt.py

- Run LLM
$ python3 scripts/run_llm_with_ROS.py --expt-name test

- Bring up obj_server
$ roslaunch obj_server broad_test01_1.launch
$ roslaunch obj_server server.launch

dynacon's People

Contributors

qualiat avatar smartlab-purdue avatar gmkim97 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.