美文网首页
Pixhawk--固件二次开发

Pixhawk--固件二次开发

作者: WilsonGuo | 来源:发表于2022-07-17 18:15 被阅读0次

环境: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

FMU与开源硬件的对应关系

编译成功:

编译仿真环境并测试:

make px4_sitl jmavsim

相关文章

网友评论

      本文标题:Pixhawk--固件二次开发

      本文链接:https://www.haomeiwen.com/subject/qasdirtx.html