UAT 105 Digital Technology and Networks

Worksheet 3 Capturing SITL telemetry and building a field network

Lab 6 hAssesses CLO2

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

  1. Run SITL and QGroundControl and capture on the loopback interface
  2. Filter udp.port == 14550, count packets per second and find 0xFD beneath the UDP and IP headers
  3. Pause SITL data forwarding; record what QGroundControl shows and any mode change in the log
  4. Build the Figure 3 network and give the onboard computer a static IP
  5. Ping every pair and draw the network with addresses and ports

Record of results

Table 1 Capture results for udp.port == 14550
ItemValueUnitEvidence (packet number or screenshot)
Table 2 Link-loss event record
Time (s from start)ActionWhat QGroundControl showsFlight mode in the log
Table 3 Addresses and ping results of the field network
FromTo (IP)Same subnet?Ping resultAverage time (ms)

Questions

  1. 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?

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

  3. 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?

  4. 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

CLO2 Configure and test TCP/IP networks for ground stations. (CLOs are a web-team draft; the course owner sets the final ones.)

Instructors: answers and teaching notes for this worksheet are in the teaching pack