Reading MAVLink telemetry from SITL

Link the message level to network packets

L09 · Lab guide

Telemetry equipment and a ground station beside a test drone
AI-generated conceptual illustration

Link the message level to network packets

Read the principles: Communications and MAVLink

What to prepare

SITL from L01; a separate Python environment

Choose the installation steps for Windows/Linux and pin versions according to the upstream guide. This item is still a lab task, not a record of results that have already run successfully.

Lab sequence

  1. Record the UDP endpoint/port/system ID that the simulator opens
  2. Use the telemetry examples from pymavlink or MAVSDK to read messages
  3. Save timestamps and ATTITUDE/position as CSV; capture loopback packets with Wireshark if available
  4. Compare the message rate seen by the application with the packet capture

Results to keep

CSV, PCAP and an endpoint diagram

Check your understanding and results

Be able to explain which data comes from which message and in what units

Scope of interpretation

Receive only from your own simulator; do not treat packet rate as equal to data freshness

Download the lab log template

Back to choosing a task in the same category →

Used in courses

How to cite this page

Drone Institute, Rangsit University. (2026). Reading MAVLink telemetry from SITL. In UAS Technology Knowledge Hub (B.Tech.). https://rsu-uat.pk-research.work/en/kb/labs/l09/

Original from Drone-Hub: https://drone.pk-research.work/labs/l09/ · © PK-Research