GithubHelp home page GithubHelp logo

apple-gym

Warning: This code is messy. It's not intended to be easy to run, and I probobly wont have time to help you run it. It's shared in the hope that it will help someone, but that someone will have to be a good python programmer. If you have problems, make a well documented issue. If you like it, please help make it better by submitting a PR or contributing docs.

A RL gym environment for picking apples from a tree with a fruit picking attachment.

more videos

Features:

  • States:
    • joint positions
    • joint torque
    • joint rotation
    • base camera
    • arm camera
  • action:
    • joint torque
  • reward: for getting apples in picker attachement

Physics: The branches are fixed. The leaves bend. The tree, leaves, and apples are in randomised positions with random colors.

Setup

git clone https://github.com/apple-gym/apple-gym.git
# make a conda environment
conda env create --file apple-gym/requirements/environment.yaml

# and the project repos, first a modified version of gym recording
git clone https://github.com/wassname/gym-recording-modified.git
pip install -e gym-recording-modified

# them diy-gym
git clone https://github.com/apple-gym/diy-gym.git
pip install -e diy-gym

# and the main repo
pip install -e apple-gym

# test
cd apple_gym
python example.py

collecting demonstrations

One way to approach a hard problem like this, us using demonstrations to help a reinforcement agent learn

python collect_demonstrations.py

Notes

Apple tree plant model from https://github.com/apple-gym/gen_tree_urdf (currently unreleased, please ask if you need it). They are produces from Grove3D for blender, and converted to urdf biles that pybullet likes.

apple-gym's Projects

diy-gym icon diy-gym

A framework for creating your own reinforcement learning environments using pybullet

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.