Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

Robot Assistant Framework

Copy of Human command (6)

framework_1-ezgif com-optipng


Environment Requirements

  • Python: 3.8 or higher (tested with Python 3.8.20)
  • Java: 11 or higher

How to Run the Frameworks

1. Install VirtualHome 2.3.0

First, install VirtualHome 2.3.0 using pip:

pip install virtualhome

Download Unity Simulator

Download the VirtualHome UnitySimulator executable and move it under simulation/unity_simulator.


2. Configure the System

Open the configuration file:

cd code/config

Edit config.py to update the UnitySimulator executable paths and API keys. For example, set:

OPENAI_API_KEY = "Replace with your OpenAI API key"
UNITY_EXEC_PATH = "Path/To/virtualhome/virtualhome/simulation/v2.3.0.app"

3. Run the Script

Navigate to the main code directory and run the main script:

cd code
python main.py

When prompted, input ASP-format goal conditions. For example:

  • has(user, milk)
  • on(coffeetable, book)
  • heated(chicken)
  • open(microwave)
  • inside(bookshelf, cupcake)

4. Installing Dependencies

Install all required Python dependencies by running:

pip install -r requirements.txt

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages