闫刚 qgroundcontrol地面站通信流代码架构

qgroundcontrol开发者文档中说明了qgc中的各个链路流向在文档中说明的很清楚,下面配套源代码进行讲解整个qgc地面站的数据流向过程.

qgroundcontrol通信

在 https://dev.qgroundcontrol.com/en/communication_flow.html 中描述如下

Description of the high level communication flow which takes place during a vehicle auto-connect.

    LinkManager always has a UDP link open waiting for a Vehicle heartbeat
    LinkManager detects a new known device (Pixhawk, SiK Radio, PX4 Flow) connected to computer
        Creates a new SerialLink connected to the device
    Bytes comes through Link and are sent to MAVLinkProtocol
    MAVLinkProtocol converts the bytes into a MAVLink message
    If the message is a HEARTBEAT the MultiVehicleManager is notified
    MultiVehicleManager is notifed of the HEARTBEAT and creates a new Vehicle object based on the information in the HEARTBEAT message
    The Vehicle instantiates the plugins which match the vehicle type
    The ParameterLoader associated with the vehicle sends a PARAM_REQUEST_LIST to the vehicle to load params using the parameter protocol
    Once parameter load is complete, the MissionManager associated with the Vehi
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值