MoveIt! 源安装

rosdep update
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install python-wstool python-catkin-tools clang-format-3.8

 1. indigo

cd ~/catkin_ws/src
wstool init .
wstool merge https://raw.githubusercontent.com/ros-planning/moveit/indigo-devel/moveit.rosinstall
wstool update
rosdep install --from-paths . --ignore-src --rosdistro indigo
cd ..
catkin config --extend /opt/ros/indigo --cmake-args -DCMAKE_BUILD_TYPE=Release
catkin build

2. kinetic

cd ~/catkin_ws/src
wstool init .
wstool merge https://raw.githubusercontent.com/ros-planning/moveit/kinetic-devel/moveit.rosinstall
wstool update
rosdep install --from-paths . --ignore-src --rosdistro kinetic
cd ..
catkin config --extend /opt/ros/kinetic --cmake-args -DCMAKE_BUILD_TYPE=Release
catkin build

 3. Jade

cd ~/catkin_ws/src
wstool init .
wstool merge https://raw.githubusercontent.com/ros-planning/moveit/jade-devel/moveit.rosinstall
wstool update
rosdep install --from-paths . --ignore-src --rosdistro jade
cd ..
catkin config --extend /opt/ros/jade --cmake-args -DCMAKE_BUILD_TYPE=Release
catkin build

最后:

source ~/catkin_ws/devel/setup.bash 
作者:Mirs King
链接:https://www.zhihu.com/question/49705281/answer/133222824
来源:知乎
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

第一
$ sudo apt-get update
$ sudo apt-get install ros-hydro-moveit-full
$ sudo apt-get install ros-hydro-moveit-ikfast

以上是通过源安装,这个装完moveit基本装好了。

--------------------------------------------------------------------------------
第二
cd ~/catkin_ws/src
git clone github链接moveit_ros.git
git clone github链接moveit_core.git
git clone github链接moveit_setup_assistant.git

这一部分是moveit的源码,除非你真的需要改源码来实现你的特定功能。你不需用源码编译来安装moveit。
另外moveit现在已经将这些包都整合到一个repo了。你只需在src文件夹中clone ros-planning/moveit和ros-planning/moveit_msgs以及ros-planning/srdfdom就可以编译安装了。

原文地址:https://www.cnblogs.com/lvchaoshun/p/6708164.html