UAT 207 Communication and Data Network Systems

Worksheet 4 Cutting and restoring the link in SITL

Lab 6 hAssesses CLO2, CLO3

Objective

Test failsafe behaviour when the link drops and returns, set the timeout from calculation and separate each failsafe type

Equipment and materials

  • ArduPilot SITL, MAVProxy and a GCS
  • Python and the module 4 example code

Safety

  • Simulation only; never cut the link on a real drone without a plan and a backup pilot

Steps

  1. Start SITL and the GCS; record all failsafe parameters first
  2. Enable GCS failsafe with the team's chosen action; set the timeout from Example 2
  3. Stop MAVProxy forwarding; record the stop time and the mode-change time
  4. Restore the link, record the behaviour and compare with Example 1
  5. Separate telemetry loss, GCS failsafe and RC loss in the report

Record of results

Table 1 Failsafe parameters before and after
ParameterValue beforeValue setReason
Table 2 Event sequence when the link is cut and restored
EventTime (s)Flight modeAge of last heartbeat (s)
Box 3 Timeout justification (false failsafe chance and distance flown on)

Questions

  1. Did the measured time from stopping forwarding to the mode change match the timeout you set? If not, where did the difference come from?

  2. If the lab link loses about 10% of packets, would you choose a 3, 5 or 10 s timeout? Justify it with the false failsafe chance and the distance flown on at 20 m/s.

  3. When the link returned, did the drone resume the old mission on its own? What procedure should the team follow after the link returns?

  4. In this experiment, how do telemetry loss, GCS failsafe and RC loss differ? Which of them can stopping MAVProxy test?

Check before you hand in

What to hand in

  • Parameter table before and after
  • Timed event sequence
  • Justification of the timeout
  • Report separating failsafe types

CLO2 Analyse telemetry and the MAVLink protocol. CLO3 Design data networks for UAS missions. (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