3
2

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.

MAVProxyでUAVのテレメトリ情報をリモートGCSに転送

Last updated at Posted at 2020-10-07

MAVProxyを使用してUAVのテレメトリ情報をネットワークのUDP経由でリモートGCSに転送することが可能です。

image.png

環境

  • Ubuntu 18.04.5
  • Python 2.7.17
  • MAVProxy Version: 1.8.22

ロカールQGC(QGroundControl)に転送

  • MAVProxyを起動
$ mavproxy.py --master=/dev/ttyACM0 --baudrate 115200 --out 127.0.0.1:14550
Connect /dev/ttyACM0 source_system=255
Log Directory: 
Telemetry log: mav.tlog
Waiting for heartbeat from /dev/ttyACM0
MAV> online system 1
MANUAL> Mode MANUAL
fence breach
Received 722 parameters
Saved 723 parameters to mav.parm
MAV> 

image.png

  • QGC(QGroundControl)を起動
$ ./QGroundControl.AppImage
  • QGCにUPD接続ポートを設定

image.png

  • QGCでMavproxyに接続

image.png

  • QGC(QGroundControl)を再起動

QGC側

$ ./QGroundControl.AppImage

QGCPositionManager error 0
Switching outbound to mavlink 2.0 due to incoming mavlink 2.0 packet: 0x55b3e76c7a48 1 2
Temp log "/tmp/FlightData146713.mavlink"

Mavproxy側

MANUAL> Got COMMAND_ACK: REQUEST_AUTOPILOT_CAPABILITIES: ACCEPTED
Got MAVLink msg: COMMAND_ACK {command : 519, result : 0}

  • QGCでテレメトリ情報を表示

image.png

リモートQGC(QGroundControl)に転送

  • MAVProxyを起動
$ mavproxy.py --master=/dev/ttyACM0 --baudrate 115200 --out 192.168.11.18:14550
Connect /dev/ttyACM0 source_system=255
Log Directory: 
Telemetry log: mav.tlog
Waiting for heartbeat from /dev/ttyACM0
MAV> APM: Data link lost
online system 1
MANUAL> Mode MANUAL
Got COMMAND_ACK: REQUEST_AUTOPILOT_CAPABILITIES: ACCEPTED
Got MAVLink msg: COMMAND_ACK {command : 519, result : 0}
fence breach
APM: Data link regained
Received 722 parameters
Saved 723 parameters to mav.parm
  • リモートPCのQGC(QGroundControl)を起動
$ ./QGroundControl.AppImage
  • QGCにUPD接続ポートを設定

image.png

  • QGCでMavproxyに接続

image.png

  • QGC(QGroundControl)を再起動
$ ./QGroundControl.AppImage

QGCPositionManager error 0
"v4.0.10"
Adding target QHostAddress("192.168.11.13") 55311
Switching outbound to mavlink 2.0 due to incoming mavlink 2.0 packet: 0x55664fac7a70 2 2
Temp log "/tmp/FlightData146713.mavlink"
  • QGCでテレメトリ情報を表示

image.png

3
2
1

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
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?