美文网首页
MoveIt教程2 - Panda机械臂案例(I) - 下载编译

MoveIt教程2 - Panda机械臂案例(I) - 下载编译

作者: Danny_a44d | 来源:发表于2019-06-16 13:23 被阅读0次

官方提供了一套机械臂案例程序

创建工作空间

mkdir -p ~/ws_moveit/src

下载案例代码

cd ~/ws_moveit/src
git clone -b kinetic-devel https://github.com/ros-planning/moveit_tutorials.git

panda机械臂的moveit配置包

git clone -b kinetic-devel https://github.com/ros-planning/panda_moveit_config.git

编译

安装依赖

cd ~/ws_moveit/src
rosdep install -y --from-paths . --ignore-src --rosdistro kinetic

配置及编译

cd ~/ws_moveit
catkin config --extend /opt/ros/kinetic
catkin build

source当前工作空间

source ~/ws_moveit/devel/setup.bash

把上一个命令加入.bashrc,这样不需要每次source

echo 'source ~/ws_moveit/devel/setup.bash' >> ~/.bashrc

相关文章

网友评论

      本文标题:MoveIt教程2 - Panda机械臂案例(I) - 下载编译

      本文链接:https://www.haomeiwen.com/subject/ylxgfctx.html