UAT 461 Autonomous Navigation and Multi-UAV Systems

Worksheet 2 Set R by fix type and check NIS on real data

Analysis activity 6 hAssesses CLO1, CLO3

Objective

Write an EKF that sets R by fix type, check consistency with NIS on real data, and define the supervisor modes

Equipment and materials

  • Data from worksheet 1 or sample data prepared by the lecturer
  • A computer with Python and the example code at /downloads/uat-461/
  • A GNSS receiver for 5 minutes standing still on a point of known coordinates (if available)

Safety

  • If standing outdoors, watch for sun and rain and do not block pedestrian paths
  • The rest is desk work with no real flight or driving

Steps

  1. Use the data logged in the module 1 lab (time, fix type, position, wheel distance) and add gyro data if available
  2. Write the EKF with state [x, y, θ, s] as in Example 2 adapted to read real data; set R by fix type using sigma values measured from 5 minutes standing still
  3. Compute the mean NIS per fix type against the 95% bounds as in Example 3 and adjust R until every type is inside
  4. If a tape-measured check point exists, compute the true error there and compare it with the filter's reported sigma
  5. Try a single R for every type and compare NIS and error with step 3
  6. Define c and m of the lane on the group's field, compute σ_max and count the share of time in each supervisor mode

Record of results

Table 1 Sigma of each fix type from 5 minutes standing still
Fix typeSamplesEast SD (m)North SD (m)Sigma used in R (m)
Table 2 Mean NIS by fix type against the 95% bounds
Fix type / R settingSamples nMean NIS95% boundsVerdict (low, ok, high)
Table 3 Share of time in each supervisor mode
R settingσ_max (m)Green (%)Amber (%)Red (%)Mean speed (m/s)

Questions

  1. With one R for every fix type (step 5), was the NIS of single fixes above or below the bounds? What does that say about the filter's confidence, and why can accuracy alone not tell whether the filter is usable?

  2. If the mean NIS of float fixes is 8 while the expected value is 2, by what factor should the float sigma be multiplied? Explain why, then compare with how your group actually adjusted R.

  3. At the tape-measured check point, was the true error within twice the sigma the filter reported? If not, what does that mean?

  4. On your field, what percentage of the time was the supervisor red, and what way out should the robot have when red instead of standing still forever?

Check before you hand in

What to hand in

  • Table of sigma by fix type
  • EKF code
  • NIS table before and after adjusting R against the bounds
  • Share of time in each supervisor mode

CLO1 Explain autonomous navigation architecture, localization and sensor fusion. CLO3 Test and evaluate the accuracy, safety and robustness of navigation systems in simulation and in the field. (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