跳到主要内容

Live Flight Controls

Overview

The purpose of opening the Live Flight Controls function is to solve the limitation of inability to operate in real-time during the remote control process of drones and nests. In actual application scenarios, the aircraft can respond from an idle state or pause the route task being executed. Developers can manually continue to control the device or payload. Through the Live Flight Controls function, developers can obtain safe and reliable aircraft control, high real-time instruction issuance and live image transmission, osd information reporting, and payload control capabilities.

The Live Flight Controls API can be divided into: flight control category (DRC), payload control category, flyto command, and one-key takeoff command.

  • Flight control commands (DRC)

    DRC (drone remote control) uses the MQTT protocol and adds two Topics for uplink and downlink. [MQTT Topic Definition] introduces and provides examples for the newly added drc Topic structure. After the cloud and the device successfully establish an MQTT connection, an EMQX Broker can be allocated specifically for the DRC communication link from the cloud to the device side, making the transmission and response faster. DRC commands need to enable the live flight controls control mode in advance to use. DRC commands are generally not restricted by flight control rights, but the use of DRC-Flight Control Method: drone_control must have flight control rights.

DRC-link

  • Payload control commands: Payload control commands require payload control rights. The current payload control commands control the actions of the camera and the gimbal, achieving camera photography, video recording, camera zoom, gimbal reset, and other payload operations, thereby obtaining information about the target.

  • flyto command and one-key takeoff command: Both the flyto command and the one-key takeoff are used to make the aircraft fly to the target point and hover, currently both can only be executed when the plane is powered off or propellers are stopped.

Interactive Timing Diagram

Detailed API Realization

Note:

  • The Live Flight Controls API section is introduced in the order of Topic types, so attention should be paid to understanding when reading.
  • Only the media files shot through the payload control commands during the waypoint mission of the aircraft will be uploaded by the media management function.

Live Flight Controls

  • Flight control commands (DRC commands)
  • Payload control commands
  • flyto command
  • One-key takeoff command