Coder Social home page Coder Social logo

ydk18 / motion_planning_argorithm-chomp Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 19.93 MB

Panda_moveit_config, Manipulator-H-moveit / OMPL, CHOMP

C# 7.48% Makefile 3.99% C++ 73.03% C 3.52% CSS 0.31% JavaScript 0.33% Java 2.06% MATLAB 2.32% Python 4.93% CMake 1.69% RobotFramework 0.01% Dockerfile 0.06% Shell 0.14% HTML 0.13% GDB 0.01%

motion_planning_argorithm-chomp's Introduction

Install Moveit! tutorial

Install ROS

Follow all the instructions to install ROS. Please make sure you have followed all steps and have the latest versions of packages installed:

rosdep update

sudo apt-get update

sudo apt-get dist-upgrade

Source installation requires wstool, catkin_tools, and optionally clang-format:

sudo apt-get install python-wstool python-catkin-tools clang-format-3.9

Create Workspace and Source

Optionally create a new workspace, you can name it whatever:

mkdir ~/catkin_ws && cd ~/catkin_ws

Next, source your ROS workspace to load the necessary environment variables, depending on what version of ROS you installed.

source /opt/ros/kinetic/setup.bash

Download Source Code

By default, we will assume you are building the latest branch - master. This branch builds for ROS Kinetic and newer, e.g. on Ubuntu 16.04 and newer. If you would like to build an older release of MoveIt from source, see the section below.

Pull down required repositories and build from within the root directory of your catkin workspace:

wstool init src

wstool merge -t src https://raw.githubusercontent.com/ros-planning/moveit/master/moveit.rosinstall

wstool update -t src

rosdep install -y --from-paths src --ignore-src --rosdistro kinetic

catkin config --extend /opt/ros/kinetic --cmake-args -DCMAKE_BUILD_TYPE=Release

Build MoveIt

catkin build

Source the Catkin Workspace

source ~/catkin_ws/devel/setup.bash

Execute Manipulator-H of CHOMP

To run the CHOMP planner with obstacles, open two shells. In the first shell start RViz and wait for everything to finish loading:

roslaunch manipulator_h_moveit demo_chomp.launch

In the second shell, run either of the two commands:

rosrun moveit_tutorials collision_scene_example.py cluttered

or

rosrun moveit_tutorials collision_scene_example.py sparse

Execute panda_moveit_config of CHOMP

To run the CHOMP planner with obstacles, open two shells. In the first shell start RViz and wait for everything to finish loading:

roslaunch panda_moveit_config demo_chomp.launch

In the second shell, run either of the two commands:

rosrun moveit_tutorials collision_scene_example.py cluttered

or

rosrun moveit_tutorials collision_scene_example.py sparse

motion_planning_argorithm-chomp's People

Contributors

ydk18 avatar

Stargazers

JianXingqiang avatar

Watchers

James Cloos avatar

Forkers

hlhfhmt dtbinh

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.