Real Panda/FR3 (inverse) reinforcement learning tasks/environments. Used experimentally with VPACE.
- Install panda-polymetis (and polymetis, following instructions in
panda-polymetis
repo). - Activate
polymetis
conda env. - Install this repo (
pip install -e .
)
- Launch robot controller
- (real)
bash /path/to/panda-polymetis/launch/real_robot.bash
- (sim)
bash /path/to/panda-polymetis/launch/sim_robot.bash
- (real)
- Launch gripper controller
- (real)
launch_gripper.py gripper=robotiq_2f gripper.comport=/dev/ttyUSB0
- (sim) (None, just a fake client)
- (real)
- Use as a regular gym environment, but without gym.make:
from panda_rl_envs import *
env = SimPandaReach()
obs = env.reset()
for i in range(10):
obs, rew, done, info = env.step(env.action_space.sample())
To get quick access to teaching (without stopping the controller), keyboard control per-joint or in task space, and keyboard gripper control, run
python -m panda_polymetis.tools.keyboard_interface
If you find this repository useful for your work, please consider citing VPACE.