UAT 461 Autonomous Navigation and Multi-UAV Systems
Worksheet 3 Build a costmap, plan a route and replan
Objective
Build a layered costmap, plan with A* and D* Lite, compare RRT with RRT*, and compute a drone height profile
Equipment and materials
- Terrain data prepared by the lecturer (point cloud or DTM) or a simulated 60 × 40 m area
- A computer with Python and the example code at /downloads/uat-461/
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
- Use terrain data or build a simulated area with at least three kinds of obstacle, and adapt Example 1 to build a costmap of at least four layers
- Adjust r_ins, r_infl and k and state the values that keep a 0.8 m wide vehicle at least half a metre from trunks
- Run Example 2 with the group's start and goal and compare the cells expanded by Dijkstra and A*
- Place a simulated branch at three positions along the route, compare A* from scratch with D* Lite and explain the ratio
- Run Example 3 with 6 new seeds and report the mean and range of path length for RRT and RRT*
- Compute the height profile as in Example 4 for the group's flight line and state the horizontal room needed before and after the row of trees
Record of results
| Layer or parameter | Value set | Lethal cells | Graded cells |
|---|---|---|---|
| Case | Planner | Cells expanded | Path cost | Ratio A* to D* Lite |
|---|---|---|---|---|
| Seed | RRT at 500 samples (m) | RRT at 3,000 samples (m) | RRT* at 500 samples (m) | RRT* at 3,000 samples (m) |
|---|---|---|---|---|
Questions
Which r_ins, r_infl and k did your group choose so that a 0.8 m wide vehicle stays at least half a metre from trunks? Show the calculation, and compute the cost of a cell 1.2 m from a trunk cell.
By what percentage did A* expand fewer cells than Dijkstra on your map, and why is the saving smaller than on open ground?
How did the ratio of cells expanded by A* from scratch to D* Lite change across your three branch positions? Explain from your numbers.
From your height profile, how many metres before the tree row must the climb start and how far after it does the descent end? Compare with a hand calculation of Δz/m.
Check before you hand in
What to hand in
- Costmap image and chosen parameters
- Table of cells expanded by Dijkstra, A* and D* Lite
- Table of RRT and RRT* path lengths
- Height profile and the horizontal room required