moveit2的环境配置

相关库的安装

1、官方文档地址

https://moveit.picknik.ai/main/doc/tutorials/getting_started/getting_started.html

2、安装 colcon-mixin

sudo apt install python3-colcon-mixin
colcon mixin add default https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
colcon mixin update default

3、安装vcstool

sudo apt install python3-vcstool

4、创建工作空间拉取moveit2文件和tutorals文件

mkdir -p ~/ws_moveit/src
cd ~/ws_moveit/src
git clone -b <branch> https://github.com/moveit/moveit2_tutorials
vcs import --recursive < moveit2_tutorials/moveit2_tutorials.repos
#一次性拉取多个库

5、编译

sudo apt update && rosdep install -r --from-paths . --ignore-src --rosdistro $ROS_DISTRO -y
#为缺失的库下载相关包
cd ~/ws_moveit
colcon build --mixin release
#进行编译

6、source

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值