Qt Arducopter ArduPilot编译环境搭建
来源:互联网 发布:淘宝怎么看行情数据 编辑:程序博客网 时间:2024/06/05 17:06
1.ArduPilot下载
windows下:
Building ArduPilot for Pixhawk/PX4 on Windows with Make
git clone https://github.com/ArduPilot/ardupilotcd ardupilotgit submodule update --init --recursive
Linux下:
Building ArduPilot for Pixhawk/2/PX4 on Linux with Make
Install git:
sudo apt-get -qq -y install git
Clone the source:
git clone https://github.com/ArduPilot/ardupilot.gitcd ardupilotgit submodule update --init --recursive
Run the install-prereqs-ubuntu.sh script:
Tools/scripts/install-prereqs-ubuntu.sh -y
Reload the path (log-out and log-in to make permanent):
. ~/.profile
2.Qt安装
下载:
http://download.qt.io/official_releases/qt/
windows下安装,直接运行exe。
linux下安装:
ubuntu下安装QT5.7.1
3.QtCreator导入工程
Building ArduPilot for Pixhawk/PX4 on Windows or Linux with QtCreator
1)Select File -> New File or Project.
2)Choose the Import Project template and from these templates Import Existing Project. Then press Next.
3)Enter a project name and choose the location of the ArduPilot Git repository. Then press Next.
4)Qt Creator shows you the files that will be imported into the project. Just press Next (we will worry about this a bit later).
5)click finish.
4.编译环境设置
1)编译器设置
注意:箭头所指位置设置一定要与Qt默认ABI一致,否则无法通过,如下图
2)kit设置
3)工程Build设置
4)编译
5)补充
Linux下设置基本相同,唯一在编译器选择时有差别,如下
参考文献:
Building ArduPilot for Pixhawk
- Qt Arducopter ArduPilot编译环境搭建
- [ArduPilot]Debian环境编译ArduCopter PX4固件
- Qt编译环境的搭建
- ubuntu qt编译环境搭建
- Qt交叉编译环境搭建
- QT 交叉编译环境搭建
- ardupilot在Ubuntu12.04.5-32bit-x86环境下的编译,简易版编译环境搭建,实际使用
- Ubuntu下编译 ArduCopter
- 搭建qt的交叉编译环境
- Qt Windows 命令行编译环境搭建
- Qt arm嵌入式交叉编译环境搭建
- Pixhawk开发环境搭建之ardupilot固件
- linux下搭建QT开发环境及编译QT demo
- Qt静态编译以及Qt Creator环境搭建
- Windows下Qt编译环境搭建及编译命令 (转)
- Ubuntu 搭建开发环境(QT+交叉编译)【嵌入式环境】
- Ubuntu下编译 ardupilot
- Ardupilot编译脚本
- hibernate主要的ID生成策略
- android系统权限总结与分析
- XML和JSON区别
- iOS开发 UIImageView的分类
- webview js 注入
- Qt Arducopter ArduPilot编译环境搭建
- js简单放大镜
- MySQL中采用类型varchar(20)和varchar(255)对性能上的影响
- 网页前端CSS之选择器
- 第一个android项目开发日志(1)
- 用Qt Creator编译opencv并配置开发环境
- [Android Exercise]仿微信游戏界面PART.1—ConstraintLayout和RecyclerView的应用
- 使用mmenu制作侧边抽屉菜单
- 对Java中递归的再思考