GithubHelp home page GithubHelp logo

orl-tamp's Introduction

ORL-TAMP

Optimistic Reinforcement Learning Task and Motion Planning (ORL-TAMP) is a framework integrating an RL policy into TAMP pipelines. The general idea is to encapsulate an RL policy into a so-called skill. A skill comprises an RL policy, a state discriminator, and a sub-goal generator. Besides steering the action, the RL policy, state discriminator, and sub-goal generator are used to verify symbolic predicates and ground geometric values.

Video

The method introduction and experiments:

Watch the video

Installation

The current version is tested on Ubuntu 20.04

  1. Dependencies:

    We are currently trying to remove the dependency of MoveIt due to its inflexibility and ROS specificity.

  2. Build PDDL FastDownward solver:

    orl_tamp$ ./downward/build.py
    
  3. Compile IK solver:

    orl_tamp$ cd utils/pybullet_tools/ikfast/franka_panda/
    franka_panda$ python setup.py
    

Run

  1. Download the RL policy models: Retrieve and EdgePush, and save policies in the /orl_tamp/policies folder.

  2. Run MoveIt (following the tutorial)

  3. Run demos:

    • Retrieve: orl_tamp$ ./run_demo.sh retrieve
    • EdgePush: orl_tamp$ ./run_demo.sh edgepush
    • Rearange: orl_tamp$ ./run_demo.sh rearrange

Train

This section we give general steps about to train your own skills.

  1. Modify the PDDL domain file and and stream file, add the PDDL definations of the skills.
  2. Use StableBaselines3 to standardized the policy trainning.
  3. Generate dataset in the domain scenario.
  4. Train the state discriminator.

orl-tamp's People

Contributors

gaoyuan-liu avatar

Stargazers

Hejia Zhang avatar Shaza Ismail Kaoud Abdelaziz avatar Mehran_Raisi avatar

Watchers

Shaza Ismail Kaoud Abdelaziz avatar  avatar

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.