PX4和Ardupilot编译环境构建

1、下载PX4源码编译:

Ubuntu20.04或18.04下PX4(pixhawk)源码编译环境配置教程,及构建代码各种错误解决办法_px4源码编译-CSDN博客

2、 PX4错误解决:

 The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfoundation.org>

下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfoundation.org>_bionic-backports inrelease” 的签名不再生效。-CSDN博客

cd PX4-Autopilot
make px4_fmu-v3_default

3、安装编译Ardupilot飞控系统

更正为:git clone --recurse-submodules https://github.com/ArduPilot/ardupilot.git
参考:Branching and Committing — Dev documentation

Ardupilot的开发环境搭建(虚拟机 Ubuntu20.04 2024年3.20) - 小泽不秃头 - 博客园

ubuntu下ardupilot编译环境搭建与仿真_ubuntu 编译 ardipilot-CSDN博客

可以从最新版构建任意旧版本分支,请参考:

[Pixhawk] ardupilot源码windows编译教程_ardupilot windows-CSDN博客

4、错误(解决:使用更老版本,不使用最新版本)

编译ardupilot时问题记录_the python version is too old, expecting (3, 6, 9)-CSDN博客

注意ubuntu中pip2 pip的位置,对应python版本,否则报错pymavlink安装的时候报错

Ardupilot4.1.2的python环境3.6.9更新pip后可以通过

5、验证:./waf configure --board fmuv3

./waf copter

编译成功:

5、查看版本

Ardupilot飞控编译环境搭建_ardupilot 怒飞-CSDN博客

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值