Documents for creating environments for grasping

Official Python bindings with a focus on reinforcement learning and robotics.
xlber20
Posts: 1
Joined: Wed Mar 11, 2020 5:28 pm

Documents for creating environments for grasping

Post by xlber20 »

I found that the documentations on github is only a high level description but lacks detailed guidance to create environments for grasping. If I want to create a new environment for grasping with customized hand is there a tutorial for that? Thanks.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Documents for creating environments for grasping

Post by Erwin Coumans »

First, you need to learn how to create an OpenAI Gym environment with PyBullet:
https://medium.com/@gerardmaggiolino/cr ... 895a622b24

then you should investigate how this script works:
https://github.com/bulletphysics/bullet ... a_grasp.py

pip3 install --upgrade --user pybullet
python3 -m pybullet_robots.panda.loadpanda_grasp

Go from there, decide on action space, observation space and reward function.
Good luck!