Skip to content

openroboticmetaverse/mvp_mujoco_simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

orom

🤖 open robotic metaverse mvp - robotics platform 🌐

Overview 🔍

This project serves as the MVP (Minimum Viable Product) 🚀 for a larger vision aimed at developing a robotic metaverse. Utilizing a combination of modern web technologies, this platform allows users to interact with robots through a web browser, fostering a unique and interactive environment.

Technology Stack 🛠️

  • Simulation: Developed using the Mujoco physics engine

Setup ⚙️

  1. Clone the repo:
git clone https://github.com/openroboticmetaverse/mvp_mujoco_simulation.git
  1. Run container:
cd mvp_mujoco_simulation
docker compose up -d

Start the Simulation 💻

Open a console in the container:

docker exec -it mvp_simulation bash

Start the simulation:

cd src
python3 mujoco_simulation.py

Test the Websocket 💻

Open a console in the container:

docker exec -it mvp_simulation bash

Start a test client to see if the simulation websocket is working:

cd src
python3 test_client.py

You should be able to see the datastream printed out in the console, in which you executed the test_client.py. After a short time the script stops, now you should see the message "Connection closed - OK" in the console of the simulation.

Next Steps

Check out the webapp, which is the other part of our mvp. To see the simulation running in your browser, follow the instructions and start the frontend (there is currently no need to run the backend).

Acknowledgements

Kinematic calculations are taken from Kevin Zakka and the robot models are taken from MuJoCo Menagerie.