Skip to content
This repository has been archived by the owner on Dec 24, 2022. It is now read-only.

mcarfagno/gym-panda-reach

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenaAI Gym robot reaching environment with PyBullet.

This a (sort-of) port of the fetch_reach_v1 environment featured in this article which I wanted to try for my RL experiments but I did not have a Mujoco license.

Anyway, here is the env in action, agent was trained with PPO.

Agent performance at different training episodes
1 1 1
1 1 1

Install

Install with pip:

git clone https://github.com/mcarfagno/gym-panda-reach
cd gym-panda-reach
pip install .

Basic Usage

Example running of the environment:

import gym
import gym_panda_reach
env = gym.make('panda-reach-v0')
env.reset()
env.reward_type = "sparse" #default is "dense"
for _ in range(100):
    env.render()
    obs, reward, done, info = env.step(
        env.action_space.sample()) # take a random action
env.close()

References and Special Thanks:

About

Pybullet conversion of the OpenAI Gym fetch_reach environment. Uses a franka emika panda robot.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages