UAT 461 Autonomous Navigation and Multi-UAV Systems
Worksheet 5 Time budget, behavior tree and acceptance test
Objective
Compute the replanning time budget, choose the retry count, design a scenario set, report failure rates with confidence intervals and write a verification matrix
Equipment and materials
- Pipeline delay data from the module 1 lab and the group's simulator
- A 0.3 m wide object and a test area for measuring the sensing range (if available)
- A computer with Python (numpy, scipy) and the example code at /downloads/uat-461/
Safety
- If measuring sensing range in the field, follow the area's conditions, do not obstruct others, and do not drive the vehicle near people
- The rest is desk and simulator work with no real flight
Steps
- Measure the group's pipeline delay and the sensing range with a 0.3 m wide object, then compute d_plan and t_plan as in Example 1
- Record the noise of the cost estimate of two nearly equal routes for 10 minutes, set the switching margin to twice the standard deviation of the difference, and compare with the naive rule over 50 trips
- Adapt Example 3 to the simulator's recovery order and durations, choose the retry count and justify it
- List five factors with levels, generate a pairwise set with the Example 4 code and add by hand the two most dangerous combinations
- Run Example 5 on the group's lane, report each design's contact rate with its interval and the number of runs the acceptance limit requires
- Write a one-page verification matrix with a threshold, a metric and a test method for each requirement
Record of results
| Vehicle | Speed v (m/s) | Data-age distance vτ (m) | Braking distance v²/2a (m) | d_plan (m) | t_plan (s) |
|---|---|---|---|---|---|
| Rule | Margin (s) | Switches per trip | Mean time to goal (s) | Trips reaching the goal |
|---|---|---|---|---|
| Design | Runs | Contacts | Rate (%) | 95% interval (%) | Median margin (m) |
|---|---|---|---|---|---|
Questions
What retry count did your group choose? Justify it with missions completed and time before giving up, and say to whom a permanent blocker should be passed.
How many scenarios does your pairwise set have compared with the full set, which two combinations did you add by hand, and why can a pairwise set miss failures?
What contact rate does your group accept, and how many contact-free runs are needed to claim it with 95% confidence? Show the calculation.
Do the confidence intervals of two designs in Table 3 overlap? If they do, can your group conclude that one design is better?
Check before you hand in
What to hand in
- Table of d_plan and t_plan for the group's robot
- Table of missions completed against retries
- Pairwise scenario set with the cases added by hand
- Contact-rate table with confidence intervals and the one-page verification matrix