MoveIt!中的运动学插件ikfast的配置(以aubo_i5机械臂为例)

我在配置过程中踩了不少坑,在此记录一下,既方便自己,也给有需要的人。以下是详细配置步骤:

一、安装ubuntu16.04

建议使用ubuntu16.04,因为在后续配置过程中需要从源码安装openrave,而openrave源码的编译需要boost1.58的支持,ubuntu16.04默认安装boost1.58。我在ubuntu18.04上尝试编译失败,在github上看到有人说是boost版本的问题,ubuntu18.04默认安装的是boost1.65。
可通过如下方式查看boost版本:

dpkg -S /usr/include/boost/version.hpp

二、安装ROS

对ROS无特殊要求,直接apt-get二进制安装即可,

sudo apt-get install ros-kinetic-desktop-full

注意先使用如下命令安装catkin工具:

sudo apt-get install ros-kinetic-catkin python-catkin-tools

创建工作空间:

mkdir -p ~/ws_moveit/src
cd ~/ws_moveit/src

三、MoveIt!配置

1、MoveIt!安装

直接二进制安装

sudo apt install ros-kinetic-moveit

2、用Setup Assistant生成moveit_config包
下载教程源码:
git clone -b kinetic-devel https://github.com/ros-planning/moveit_tutorials.git
git clone -b kinetic-devel https://github.com/ros-planning/panda_moveit_config.git
接下来参考官网教程生成moveit包,链接如下:http://docs.ros.org/kinetic/api/moveit_tutorials/html/doc/setup_assistant/setup_assistant_tutorial.html
详细的过程不再复述,有几点要注意的:
(1)franka-description提供机器人模型文件,安装后可以在/opt/ros/kinetic/share底下找到,配置ikfast时我使用的是panda_arm.urdf.xacro,即在setup assistant第一步加载文件时,不选择panda_arm_hand.urdf.xacro&#x

  • 5
    点赞
  • 22
    收藏
    觉得还不错? 一键收藏
  • 12
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 12
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值