Pixhawk--固件二次开发
2022-07-17 本文已影响0人
WilsonGuo
环境:ubuntu20.04
1.源码下载:
git clone https://github.com/PX4/PX4-Autopilot.git --recursive
2.安装工具链:
bash ./PX4-Autopilot/Tools/setup/ubuntu.sh
3.安装依赖和子包依赖:
cd PX4-Autopilot
运行:
git submodule update --init --recursive
bash /home/wilson/Desktop/ubuntu_sim_nuttx.sh
(解决NuttX 配置找不到的问题)
4.编译:
cd PX4-Autopilot
make px4_fmu-v3_default

编译成功:

编译仿真环境并测试:
make px4_sitl jmavsim

