UAT 366 Indoor Autonomous and Multi-Unmanned Aircraft Systems

Worksheet 1 An error budget in the lab

Lab 12 hAssesses CLO1

Objective

Set up indoor positioning, feed external position to PX4, measure each error source, build an error budget and set tag spacing

Equipment and materials

  • Indoor flight room with safety netting
  • UWB anchors or motion-capture cameras and AprilTags
  • PX4 training drone with a VIO camera
  • Tape measure or laser rangefinder
  • Computer with QGroundControl, Python and the module 1 example code

Safety

  • Fly inside the netted room at low speed with a pilot ready to take manual control
  • No people inside the flight area during tests
  • Check the position-loss fallback mode before the first flight

Steps

  1. Define the room frame; survey UWB anchors or cameras and AprilTags
  2. Feed external position to PX4 per the guide; check the rate and set EKF2_EV_CTRL
  3. Try three EKF2_EV_DELAY values; compare error on constant-speed out-and-back flights
  4. Measure each source's error and build the budget with Example 1
  5. Fly a long line on VIO only, measure drift and set tag spacing with Example 2

Record of results

Table 1 Room frame and surveyed anchor, camera and tag positions
Point (anchor, camera or tag)x run 1 / 2 (m)y run 1 / 2 (m)z run 1 / 2 (m)Largest run-to-run difference (m)
Table 2 Error by EKF2_EV_DELAY on constant-speed out-and-back flights
EKF2_EV_DELAY (ms)Speed (m/s)Error outbound (m)Error return (m)Outbound minus return (m)
Table 3 Error budget and tag spacing
Error source or itemMeasured or computed valueUnitShare of variance (%)How obtained

Questions

  1. From Table 3, which source has the largest share of variance? If you could improve only one source, which would you pick, and why does shrinking the smallest source barely help?

  2. In Table 2, do the outbound and return errors have opposite signs? Use e = v·Δt to estimate the uncompensated latency from the difference between the two legs, and say which EKF2_EV_DELAY value is best.

  3. From the VIO drift you measured (percent of distance), how far apart may tags be to keep the error below 0.20 m and below 0.10 m? Why does the lesson recommend fusing with UWB instead of adding more tags?

  4. If the aisle is 2.5 m wide and the drone 0.8 m wide, is three times your total standard deviation still inside the margin on each side? Why compare against several standard deviations rather than one?

Check before you hand in

What to hand in

  • Room frame and anchor or camera positions
  • Error table by EKF2_EV_DELAY
  • Error budget with code
  • Proposed tag spacing with reasons

CLO1 Configure navigation in GNSS-denied areas. (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