UAT 105 Digital Technology and Networks
Worksheet 3 Capturing SITL telemetry and building a field network
Objective
See protocol layers in real packets, observe a link loss and set up a working ground-station network
Equipment and materials
- Computer with SITL and QGroundControl
- Wireshark (with Npcap on Windows)
- Wi-Fi router
- Onboard computer or Raspberry Pi
Safety
- Desk work only; no flying
- Capture only on the lab network, never on other people's networks
Steps
- Run SITL and QGroundControl and capture on the loopback interface
- Filter udp.port == 14550, count packets per second and find 0xFD beneath the UDP and IP headers
- Pause SITL data forwarding; record what QGroundControl shows and any mode change in the log
- Build the Figure 3 network and give the onboard computer a static IP
- Ping every pair and draw the network with addresses and ports
Record of results
| Item | Value | Unit | Evidence (packet number or screenshot) |
|---|---|---|---|
| Time (s from start) | Action | What QGroundControl shows | Flight mode in the log |
|---|---|---|---|
| From | To (IP) | Same subnet? | Ping result | Average time (ms) |
|---|---|---|---|---|
Questions
In Wireshark, which headers come before the 0xFD byte and how many bytes are they? If a 21-byte HEARTBEAT frame is sent in one UDP/IPv4 packet, what percentage of what is sent is headers?
When the link came back, did QGroundControl get the missing data back? Explain using the properties of UDP and say why this is good for telemetry.
If the ground-station laptop got the address 169.254.x.x, or 192.168.1.20/24, while the drone is at 192.168.10.30/24, can they ping each other? Which layer is the problem in, and how do you fix it?
If every pair pings but QGroundControl still cannot see the drone, what should you check next, layer by layer?
Check before you hand in
What to hand in
- Packet byte view with layers marked
- Link-loss record
- Network diagram with ping results