基于Arm64 ubuntu18.04配置ROS Melodic

1.设置系统源

deb http://mirrors.aliyun.com/ubuntu-ports/ bionic main restricted universe multiverse

注:ubuntu-ports

 

2.sudo apt-get update

 

3.配置ROS源

sudo sh -c '. /etc/lsb-release && echo "deb http://mirrors.ustc.edu.cn/ros/ubuntu/ $DISTRIB_CODENAME main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654

4.更新

sudo apt-get update

 

5.安装ros

sudo apt install ros-melodic-desktop-full

6.初始化rosdep

sudo rosdep init

rosdep update

注:第一句失败的话执行

sudo apt install python-rosdep

Error with second command:

https://blog.csdn.net/u013468614/article/details/102917569

https://www.jianshu.com/p/bdbfbac69114

7.设置环境变量

echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc

source ~/.bashrc

8.安装rosinstall

sudo apt install python-rosinstall python-rosinstall-generator python-wstool build-essential

9.验证ros

roscore

注:失败的话再次执行

sudo apt-get -f install ros-melodic-desktop-full

参考:

1.https://www.ncnynl.com/archives/201906/3147.html

2.https://blog.csdn.net/weixin_40772628/article/details/103377637

3.https://blog.csdn.net/Yan_Joy/article/details/88998578

4.https://blog.csdn.net/MrVco/article/details/105485323

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值