The English version of this page is being translated and reviewed; the Thai original is shown for now.
Reading MAVLink telemetry from SITL
เชื่อม message-level กับ network packet
L09 · แนวทางทดลอง
เชื่อม message-level กับ network packet
อ่านหลักการ: การสื่อสารและ MAVLink
สิ่งที่ต้องเตรียม
SITL จาก L01; Python environment แยก
MAVProxy + MAVExplorerpymavlinkMAVSDKWireshark
เลือกขั้นตอนติดตั้งที่ตรง Windows/Linux และตรึงรุ่นตามคู่มือต้นทาง รายการนี้ยังเป็นโจทย์ทดลอง ไม่ใช่บันทึกผลที่รันผ่านแล้ว
ลำดับทดลอง
- บันทึก UDP endpoint/port/system ID ที่ simulator เปิดใช้
- ใช้ตัวอย่าง telemetry จาก pymavlink หรือ MAVSDK อ่านข้อความ
- เก็บ timestamp และ ATTITUDE/position เป็น CSV; จับ loopback packet ด้วย Wireshark ถ้าพร้อม
- เทียบ message rate ที่ application เห็นกับ packet capture
ผลลัพธ์ที่ควรเก็บ
CSV, PCAP และแผนผัง endpoint
ตรวจความเข้าใจและผลที่ได้
อธิบายได้ว่าข้อมูลใดมาจาก message ใดและหน่วยอะไร
ขอบเขตการตีความ
รับจาก simulator ของตนเท่านั้น; ไม่ถือว่า packet rate เท่ากับ data freshness
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-drt.pk-research.work/en/kb/labs/l09/