Giter Site home page Giter Site logo

zhangzhihao2020 / drl-on-robot-arm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ysd-980201/drl-on-robot-arm

0.0 0.0 0.0 5.12 MB

This is the repository of Robotic Arm Motion Planning Simulation Based on Reinforcement Learning.

License: MIT License

Python 99.81% CMake 0.19%

drl-on-robot-arm's Introduction

Robotic Arm Motion Planning Simulation Based on Reinforcement Learning

This is the repository of Robotic Arm Motion Planning Simulation Based on Reinforcement Learning.

Overview

In this code, I use a self-built pybullet robot arm reinforcement learning environment to test some reinforcement learning algorithms, including DDPG, TD3, DADDPG, DATD3, and DARC, and try to let the robot arm finish three tasks: reach, push, and pick.

I use main.py to run results, the algorithms' parameters are in config.py, and use visdom to monitor the algorithms' performance. The envs deposits three self-built robot arm environments, the algo deposits test algorithms, the models deposits robot urdf file, and the utils deposits small tools for rl-learning.

Requirements

  • python: 3.7.11
  • mujoco_py: 2.1.5
  • torch: 1.6.0+cu101
  • gym: 0.19.0
  • pybullet: 3.0.6
  • visdom: 0.1.8.9

Test algorithm

  • DDPG
  • TD3
  • DADDPG
  • DATD3
  • DARC( AAAI 2022, Efficient Continuous Control with Double Actors and Regularized Critics )

How to use

Start visdom

python -m visdom.server

Run the following commands to start visdom server.

Run simulation

python main.py run --env=<envrionment name> --algo=<algorithm name> --vis_name=<visdom server name> 

I use fire console to run my code, so use the following commands to run the simulation, you also can change the config in config.py instead.

Some results

Training process

1

Performance

1

Online comparison

1

drl-on-robot-arm's People

Contributors

shimly-2 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.