-
Create a new conda environment
conda create mpi4py python=3.7 -n fetch
-
Set up MuJoCo
- Download the MuJoCo version 2.0 binaries from the MuJoCo website.
- Set the paths (
MUJOCO_PY_MJKEY_PATH
andMUJOCO_PY_MUJOCO_PATH
) if you put the binary and key in a different place.
-
Install requirements
pip install -r requirements.txt
-
Demo environment:
FetchThreeObjEnv
- After installing the requirements, run
demo.py
to see the demo environment. - This environment contains a Fetch robot and three blocks on the table. The red rectangle area at the corner of the table is the tray area. This environment gives reward 1 if the robot successfully move any block to the tray; and the environment gives
done=True
when the robot succeeds or timeout (the default time limit is 50 time steps). - To add other robot or objects, there are at least two required changes:
- update
pnp_three_objects.xml
or add a new xml file to specify the environment configuration. - update
fetch_three_obj_env.py
or add a new class that extendsRobotEnv
to specify the rules forreset()
andstep()
- update
- After installing the requirements, run
-
Notifications
You must be signed in to change notification settings - Fork 0
tejwanir/social-interactions-robotics
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published