Code Monkey home page Code Monkey logo

sampling-based-planning-for-robot-arm's Introduction

Sampling-based Planning for Robot Arm

This is the final project of the CMU-16782. It has the implementation of basic forward/inverse kinematics, and the sampling_based path planning with constraints for the Franka Robot Arm.

For Ubuntu 16.04:

  1. Install ROS Kinetic on your computer following instructions here: [http://wiki.ros.org/ kinetic/Installation/Ubuntu.](http://wiki.ros.org/ kinetic/Installation/Ubuntu. ) (Make sure to install the Desktop-Full Install version of ROS Kinetic.)

  2. Install libfranka and franka_ros using the following command:

    sudo apt install ros-kinetic-libfranka ros-kinetic-franka-ros

  3. Install all requirements.

    pip install -r requirements.txt

  4. Change the path argument in visualize.launch to the path to your working folder.

  5. Run the RRT planner:

    python3 plan.py --rrt or python3 plan.py --rrt --map2 for using the second map, or python3 plan.py --rrt --map3 for using the third map.

    Run the CBIRRT planner:

    python3 plan.py --rrtc or python3 plan.py --rrtc --map2 for using the second map, or python3 plan.py --rrtc --map3 for using the third map.

    Run the PRM planner:

    python3 plan.py --prm or python3 plan.py --prm --map2 for using the second map, or python3 plan.py --prm --map3 for using the third map.

    If reusing the graph created before:

    python3 plan.py --prm [--map2/map3]--reuse_graph

    Run the OBPRM planner:

    python3 plan.py --obprm or python3 plan.py --obprm --map2 for using the second map, or python3 plan.py --obprm --map3 for using the third map.

    If reusing the graph created before:

    python3 plan.py --obprm [--map2/map3]--reuse_graph

Environment

We designed three problems for the robot arm, in which it needs to move from a start position to agiven goal position while avoiding obstacles.

Scene 1: Scene 1

Scene 2: Scene 2

Scene 3: Scene 3

Video Demo

Watch the video

sampling-based-planning-for-robot-arm's People

Contributors

aaronzguan avatar xuyichen2010 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.