UAT 461 Autonomous Navigation and Multi-UAV Systems

Worksheet 4 Dodge, smooth and track in simulation

Analysis activity 6 hAssesses CLO2, CLO3

Objective

Test a local planner, VFH, a velocity obstacle, a minimum-snap trajectory and three trackers in a 2D simulation

Equipment and materials

  • A computer with Python (numpy, scipy) and the example code at /downloads/uat-461/
  • The group's simulated scene with an obstacle pile and a walker

Safety

  • Desk and simulator work with no real flight or driving
  • Use assumed data or data the group recorded; do not use data of outsiders

Steps

  1. Build a 2D simulated lane with an obstacle pile, a global path with at least two waypoints and a walker who appears after a few seconds
  2. Adapt Example 1: run DWA straight and along the global path; change the three score weights and report clearance and time
  3. Feed one scan to the Example 2 code, change the threshold and minimum valley width, and report the chosen direction
  4. Apply Example 3 to the walker's position and speed, draw the velocity obstacle and state the closest safe velocity with and without turning
  5. Run Example 4 on the group's waypoints and limits and report the stretch factor, the final time and the binding limit
  6. Run Example 5 with the group robot's wheelbase, speed and steering lag; report RMS and largest error and recommend one controller

Record of results

Table 1 DWA and potential-field runs
RunWeights α β γResult (reached or stuck) and time (s)Minimum clearance (m)Peak acceleration (m/s²)
Table 2 VFH with different threshold and minimum valley width
ThresholdMinimum width (deg)Blocked bins (of 72)Chosen direction (deg)Away from the target (deg)
Table 3 Errors of the three trackers
ControllerSettles within 5 cm (s)Straight RMS (m)Straight largest (m)Bend RMS (m)Bend largest (m)

Questions

  1. Why did the potential field command accelerations of tens of m/s² and get stuck at the U-shaped pile, while DWA never exceeded its own limit yet still got stuck when driving straight at the goal?

  2. From the velocity obstacle of the walker in your scene, what are the closest safe velocities with and without turning? Why is turning behind the walker better than turning away from where the walker is now?

  3. What stretch factor did your group get, which limit binds, and would the binding limit change if the acceleration limit were halved? Show the calculation.

  4. From Table 3, which controller does your group recommend for its robot? Give reasons from the bend errors and the information that controller needs.

Check before you hand in

What to hand in

  • Table of three DWA runs
  • Histogram plot and the chosen direction
  • Velocity-obstacle plot and safe velocity
  • Stretch factor and the RMS and largest-error table for three controllers

CLO2 Develop path planning, obstacle avoidance and trajectory tracking for ground vehicles and UAS. 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