Skip to content

A repository for a human-robot interaction system using ROS2

Notifications You must be signed in to change notification settings

mendesLet/speech-hri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Human-robot interaction with LLMs

Currently, the perception of robots is often within an industrial scope and rarely considered in terms of interaction between humans and robots. However, over the last few years, it is possible to observe that this communication, as demonstrated by assistants like Alexa or even with communication with ChatGPT, has grown significantly. There is a growing interest among the population in this natural communication between machines and humans.

How to start

Set up your .env file

OPENAI_API_KEY='<YOUR API KEY HERE>'

You can start the application with the usual ros2 commands, for that you will need ros2 installed in your computer, instead you can use the dockerfile offered in the repository.

source /opt/ros/<distro>/setup.bash
colcon build
source install/setup.bash

You can try using Docker
To build the dockerfile (remember to be in the folder with the Dockerfile)

docker build -t simple_hri:1.0 .

Before starting the dockerfile you will need a Riva server, you can do that by downloading from NVIDIA NGC

Start the dockerfile

docker run -it --rm --privileged -v ${PWD}/src:/QA_ws/src simple_hri:1.0

To begin the application
Set the environment

colcon build
source install/setup.bash

You can know start the servers by

ros2 launch simple_qa question_answer.py

In other terminal you can start the question and answer pipeline

ros2 run simple_qa qa

About

A repository for a human-robot interaction system using ROS2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published