Reading MAVLink telemetry from SITL
Link the message level to network packets
L09 · Lab guide
Link the message level to network packets
Read the principles: Communications and MAVLink
What to prepare
SITL from L01; a separate Python environment
MAVProxy + MAVExplorerpymavlinkMAVSDKWireshark
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
- Record the UDP endpoint/port/system ID that the simulator opens
- Use the telemetry examples from pymavlink or MAVSDK to read messages
- Save timestamps and ATTITUDE/position as CSV; capture loopback packets with Wireshark if available
- 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
Used in courses
UAT 104 Computer ProgrammingUAT 204 Microcontrollers and Embedded SystemsUAT 207 Communication and Data Network SystemsUAT 322 Artificial Intelligence and Autonomous Unmanned Aircraft Systems Integration Laboratory
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/