UAT 301 Unmanned Aircraft Systems Technology

Worksheet 3 Planning and checking a mission in SITL

Lab 3 hAssesses CLO1

Objective

Plan a survey mission, check the plan file by program, compare simulated flight time and assess link range from the GCS site

Equipment and materials

  • ArduPilot or PX4 SITL and QGroundControl
  • Python and the module 3 example code
  • Campus map

Safety

  • Simulation only; no real flights

Steps

  1. In class: connect QGroundControl to SITL; check telemetry and system time
  2. In class: plan a campus survey with the Survey pattern
  3. Self-study: refine the mission and save it as a .plan file
  4. In class: adapt Example 1 to read the real file with json.load; check altitude, maximum range and final command
  5. Self-study: fly the plan in SITL, compare real and computed time and explain the difference
  6. Self-study: compute the radio horizon of the GCS site with Example 2 and list obstructions that could block the link

Record of results

Table 1 Program check of the .plan file
ItemCommand (MAVLink number)Altitude (m) and frameDistance from home (m)Problem found
Table 2 Simulated versus computed flight
ItemComputedSITLDifferenceReason
Table 3 Radio horizon and obstructions at the GCS site
GCS antenna height (m)Drone height (m)Radio horizon (km)Farthest mission point (km)Obstructions on the link path

Questions

  1. If the plan used altitudes above mean sea level instead of above home, how would the program's 90 m altitude check go wrong? Use Example 1's home, 5 m above sea level, as an example.

  2. How much did the SITL flight time differ from the computed time, and what does the program not count?

  3. If the GCS antenna moves from 2 m to a 10 m mast with the drone at 90 m, how much farther does the radio horizon reach, and why is the real link usually shorter?

  4. During the SITL flight, which data went over the C2 link, which belonged to the payload link, and why must C2 data take priority?

Check before you hand in

What to hand in

  • .plan file
  • Plan-checking code and output
  • Simulated versus computed flight time
  • Radio-horizon result and obstruction list

CLO1 Analyse UAS architecture and subsystems. (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