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.问题

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

相关推荐
linweidong15 小时前
在Ubuntu新版本安装gcc4.8等老版本环境
linux·运维·ubuntu
知识分享小能手16 小时前
Ubuntu入门学习教程,从入门到精通,Ubuntu 22.04 中安装 Docker 容器 —— 知识点详解(26)
学习·ubuntu·docker
老前端的功夫17 小时前
TypeScript索引访问类型深度解析:类型系统的动态访问与模式匹配
前端·javascript·ubuntu·架构·typescript·前端框架
oMcLin17 小时前
如何在Ubuntu 20.04上配置并调优Kubernetes集群,确保在多租户环境下的高可用性与资源分配?
linux·ubuntu·kubernetes
爱吃大芒果17 小时前
openJiuwen(Windows端)大模型添加及AI Agent创建教程
人工智能·ubuntu·openjiuwen
云qq18 小时前
x86操作系统23——进程相关系统调用
linux·c语言·汇编·ubuntu
`林中水滴`19 小时前
Linux系列:Ubuntu 防火墙命令
linux·ubuntu
Mike_66620 小时前
Linux (Ubuntu) Jetson AArch64 架构 JetPack6.2 CUDA+CUDNN+PyTorch 安装踩坑经历
linux·pytorch·ubuntu
skywalk816320 小时前
Ubuntu宽屏显示器只有4:3分辨率问题的解决:用cvt和xrandr命令查看并配置显卡分辨率到1440x900
linux·运维·ubuntu·显示
oMcLin21 小时前
如何在Ubuntu 22.04上通过调优Nginx和PHP‑FPM,提升高并发WordPress网站的负载均衡与缓存性能?
nginx·ubuntu·php