4
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

DJI ドローンをMAVLinkを使用してQGroundControlで飛ばしてみる

Last updated at Posted at 2021-09-02

はじめに

DJIドローンをQGroundControlで飛ばして遊んでみる内容です。
通常、QGroundControlでDJIドローンを接続できないですが、DJIドローンをMAVLinkプロトコルにラップしてQGroundControlで飛ばすことができます。

構成

DJIドローン⇒Androidタブレット⇒DJI SDK⇒MAVLink SDK⇒QGroundControl

環境

DJI Mavic Pro 2
HUAWEI MediaPad M5 lite(Android 9)]
DJI SDK 4.14
Ubuntu 18.04.5
QGroundControl 4.0.11

QGroundControlの設定

MAVLink受信の設定

QGroundControlでMAVLink受信するUDPポートを設定します。

Type: UDP
Automatically Connect on Start:ON
Listening Port: 14540

image.png

映像受信の設定

QGroundControlでDJIドローンカメラからの映像を受信するUDPポートを設定します。

Video Source: UDP h.264 Video Stream
UDP Port: 5600
Aspect Ratio: 1.777777(Default)

image.png

DJIドローンをMAVLinkプロトコルにラップ

DJIドローンをMAVLinkプロトコルにラップには、rosettadroneを使用します。

接続手順

  1. DJIドローンを電源ON
  2. DJIドローンのプロポを電源ON
  3. USBケーブルでプロポとAndroidタブレットを接続
  4. Androidタブレットでrosettadroneを起動
  5. MAVLink送信先のIPとPort(14540)を設定
  6. 映像転送先のIPとPort(5600)を設定
  7. QGroundControlを起動

(Androidタブレットでrosettadroneを起動)
image.png

(MAVLink送信先のIPとPort(14540)を設定)
image.png

(映像転送先のIPとPort(5600)を設定)
image.png

  • QGroundControlを起動

QGroundControlでDJIドローンからのMAVLinkテレメトリとカメラ映像を見ることができます。

image.png

image.png

4
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?