UAT 301 Unmanned Aircraft Systems Technology
Worksheet 3 Planning and checking a mission in SITL
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
- In class: connect QGroundControl to SITL; check telemetry and system time
- In class: plan a campus survey with the Survey pattern
- Self-study: refine the mission and save it as a .plan file
- In class: adapt Example 1 to read the real file with json.load; check altitude, maximum range and final command
- Self-study: fly the plan in SITL, compare real and computed time and explain the difference
- Self-study: compute the radio horizon of the GCS site with Example 2 and list obstructions that could block the link
Record of results
| Item | Command (MAVLink number) | Altitude (m) and frame | Distance from home (m) | Problem found |
|---|---|---|---|---|
| Item | Computed | SITL | Difference | Reason |
|---|---|---|---|---|
| GCS antenna height (m) | Drone height (m) | Radio horizon (km) | Farthest mission point (km) | Obstructions on the link path |
|---|---|---|---|---|
Questions
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.
How much did the SITL flight time differ from the computed time, and what does the program not count?
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?
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