Skip to content

A nifty sandbox for experimenting with robots in MuJoCo using text prompts

Notifications You must be signed in to change notification settings

shrikadam/mj-instruct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MuJoCo-Instruct

A nifty sandbox for experimenting with robots in MuJoCo using text prompts

Setup

  1. Install the required packages:
$ pip install -r requirements.txt
  1. Set up your OpenAI API key in llm/prompt_handler.py.

  2. Run the simulation:

$ python main.py

Usage

Enter natural language commands to control the robot. For example:

  • "Move forward"
  • "Turn left"
  • "Go to the right"

Type 'quit' to end the simulation.

Project Structure

  • environments/: Contains the MuJoCo environment setup
  • models/: Contains the XML model file for the robot
  • controllers/: Implements the robot control logic
  • llm/: Handles natural language processing and LLM integration
  • utils/: Contains helper functions
  • main.py: The main script to run the simulation

Customization

Modify the XML model, environment parameters, and control logic to suit your specific robot and task requirements.

About

A nifty sandbox for experimenting with robots in MuJoCo using text prompts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages