ubuntu20.04_PX4_1.13

说在前面 :(最好找一个干净的Ubuntu系统 )如果配置环境的过程中出现很多编译的错误或者依赖冲突,还是建议新建一个虚拟机 ,或者重装Ubuntu系统,这样会避免很多麻烦💐 , 安装PX4 1.13.2 的参考文档如下,本篇内容是根据参考文档出现的问题进行补充。

https://www.yuque.com/xtdrone/manual_cn/basic_config_13

注意:安装PX4的时候一定要自己 git clone !!!👇

Ubuntu20.04默认没有python2 和 pip2 所以需要先安装这两个:

1. python2 & python3

https://blog.csdn.net/qq_44848795/article/details/131277985

博主默认设置的是python = python2

2. pip2 for python2.7

bash 复制代码
sudo curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
bash 复制代码
sudo python2 get-pip.py

3. pip insall -i

清华源

bash 复制代码
-i https://pypi.tuna.tsinghua.edu.cn/simple

4. ubuntu sources.list 替换为阿里云

sources.list更换为清华源会提示不安全的引用,所以博主这里选择用阿里云,没什么问题。

https://developer.aliyun.com/mirror/ubuntu?spm=a2c6h.13651102.0.0.3e221b11caqLOP

bash 复制代码
sudo gedit /etc/apt/sources.list
bash 复制代码
# Ubuntu20.04
deb https://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse

# deb https://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse

5.鱼香ROS

bash 复制代码
wget http://fishros.com/install -O fishros && . fishros

6. 安装Gazebo11

安装之前,先把这个包的版本换一下,不然会出错

bash 复制代码
pip3 uninstall empy
pip3 install empy==3.3.4

https://blog.csdn.net/Jenniehubby/article/details/134780066#t1

7.问题

解决: 找个那个文件,删掉 *_ 即可。

相关推荐
guygg8811 小时前
ubuntu手动编译VTK9.3 Generating qmltypes file 失败
linux·运维·ubuntu
诗意亭序14 小时前
ubuntu16.04 虚拟机与电脑共用wifi
ubuntu
scilwb14 小时前
Isaac Sim 4.5中iRobot Create 3机器人LightBeam传感器系统完整实现教程
ubuntu
applebomb20 小时前
没合适的组合wheel包,就自行编译flash_attn吧
python·ubuntu·attention·flash
Rudon滨海渔村1 天前
解决阿里云ubuntu内存溢出导致vps死机无法访问 - 永久性增加ubuntu的swap空间 - 阿里云Linux实例内存溢出(OOM)问题修复方案
linux·运维·ubuntu
2401_861615281 天前
跨平台的ARM 和 x86 Docker 镜像:汇编语言实验环境搭建
linux·汇编·ubuntu·docker·容器
Ronin3051 天前
【Linux系统】vim编辑器 | 编译器gcc/g++ | make/Makefile
linux·运维·服务器·ubuntu·编辑器·vim
Natsuagin1 天前
【保姆级目标检测教程】Ubuntu 20.04 部署 YOLOv13 全流程(附训练/推理代码)
yolo·目标检测·ubuntu·计算机视觉
牧以南歌〆1 天前
在Ubuntu主机中修改ARM Linux开发板的根文件系统
linux·arm开发·驱动开发·ubuntu
cuijiecheng20182 天前
Ubuntu下布署mediasoup-demo
linux·运维·ubuntu