原创 APM 學習 10 --- 建立編譯環境(Ubuntu)

      本章學習 Ubuntu 環境下建立 APM 編譯環境,可以參考官方文檔 :https://ardupilot.org/dev/docs/building-setup-linux.html#building-setup-linu

原创 APM 學習8 --- RC 輸入輸出

英文原文地址:https://ardupilot.org/dev/docs/learning-ardupilot-rc-input-output.html 1, RC 輸入輸出概述      對於任何種類的自動駕駛儀,RC 的輸入與輸出都

原创 APM 學習 9 --- 存儲和 EEPROM 管理

英文原文地址:  https://ardupilot.org/dev/docs/learning-ardupilot-storage-and-eeprom-management.html 存儲和 EEPROM 管理         Ard

原创 APM 學習 12 --- Linux 下學習庫示例

        爲了方便大家深入瞭解飛控工作原理與編程,ArduPilot 提供了許多示例,位於 /Library 文件中,本文將以串口爲例,爲大家展示如何利用這些示例進一步深入開發 APM 飛控。 官方文檔內容,方便大家對照查閱:htt

原创 APM 學習 13 --- ArduPilot 遙控器 RC 發射器和接收器

英文原文地址: https://ardupilot.org/copter/docs/common-pixhawk-and-px4-compatible-rc-transmitter-and-receiver-systems.html#co

原创 APM 學習 11 --- Linux 下更新飛控硬件程序

系統爲虛擬機安裝 Ubuntu18.04.1,硬件爲 px4 2.4.8 執行指令參考   https://github.com/ArduPilot/ardupilot/blob/master/BUILD.md 1,接上一篇文章,源碼準備

原创 VIM 下通過 ctags 插件實現代碼跨文件跳轉功能

Linux 環境下通過 vim 查看與編輯代碼,希望可以像 IDE 環境一樣,方便地實現代碼跳轉,在不同的文件中查找變量或者函數,本文章介紹了常用的 VIM + ctags 來實現這一跳轉功能。本人初學者,網上學習過程中發現好多資料給的教

原创 APM 傳感器驅動解析 --- 基本通信協議

  原版英文文地址:https://ardupilot.org/dev/docs/code-overview-sensor-drivers.html ArduPilot 支持來自許多不同製造商的多種傳感器,例如測距儀(又名聲納,激光雷達)

原创 APM學習 7 --- UART和控制檯

英文原文地址:https://ardupilot.org/dev/docs/learning-ardupilot-uarts-and-the-console.html        ArduPilot中的許多組件都依賴UART,用於調試輸

原创 APM 學習 6 --- ArduPilot 線程

ArduPilot 學習之路 - 6,線程 英文原文地址:https://ardupilot.org/dev/docs/learning-ardupilot-threading.html 理解 ArduPilot 線程         線

原创 APM 飛控文檔翻譯2

翻譯章節:Learning ArduPilot — Introduction 原文地址:https://ardupilot.org/dev/docs/learning-ardupilot-introduction.html 學習 Ardu

原创 APM 傳感器驅動解析 --- 前後端分離

上一篇文章中介紹了 ArduPliot 傳感器採集用到的集中基本協議 初學者可以先閱讀上一篇文章  https://mp.csdn.net/console/editor/html/106586743 英文原文地址 https://ardu

原创 APM 飛控文檔翻譯3

翻譯章節:ArduPilot Libraries 原文地址:https://ardupilot.org/dev/docs/apmcopter-programming-libraries.html#ardupilot-libraries  

原创 APM 飛控文檔翻譯1

閒來無事,翻譯 APM 飛控官方文檔,方便大家一起學習。 原文地址:點擊查看原文地址 Learning the ArduPilot Codebase    學習 ArduPilot 代碼庫 The ArduPilot code base

原创 如何在C#中模擬C++的聯合(union)

union TokenValue { char _cval; int _ival; double _dval; }; union TokenValue中數據佔用內存的情況如下圖所示: 在C#中使用StructL