UAT 308 Automation and Robotics Technology
Worksheet 4 Planning and tracking in a mock field
Objective
Plan with RRT against A*, measure steering delay and choose the pure pursuit lookahead from measurements
Equipment and materials
- Training robot vehicle
- Cones or boards for mock panel rows
- LiDAR or RTK GNSS for position
- Python and the module 4 example code
Safety
- Test in a fenced area with someone holding the emergency stop at all times
- Limit speed and keep out of the field while the vehicle drives autonomously
Steps
- Map the mock panel-row field and inflate obstacles by vehicle width
- Run RRT as in Example 1 with ten seeds; record length and nodes and compare with grid A*
- Measure the real steering delay from command to wheel motion
- Track the path with pure pursuit at three lookaheads, measure lateral error and compare with Example 2
- Choose the working lookahead with reasons based on measurements
Record of results
| Seed or method | Nodes | RRT length (m) | Length after shortcut (m) | Points after shortcut |
|---|---|---|---|---|
| Trial | Command sent (s) | Wheels start (s) | Delay (s) | How measured |
|---|---|---|---|---|
| Lookahead (m) | Speed (m/s) | Time to ±5 cm (s) | Largest overshoot (cm) | Oscillating or steady |
|---|---|---|---|---|
Questions
From Table 1, how much does RRT path length vary between seeds, and how do the shortcut paths compare with A*? What does this say about trusting a single RRT run?
Why must obstacles be inflated by the vehicle width before planning? Does inflation make the path longer or shorter, and what happens without it?
From Tables 2 and 3, which lookahead did your group choose? Justify it with the measured delay, and explain why a short lookahead oscillates when there is delay.
If the vehicle's speed doubles, is the chosen lookahead still suitable? And if the vehicle tracks poorly even with a good lookahead, which control loop should you check first?
Check before you hand in
What to hand in
- Field map and RRT versus A* table
- Measured steering delay
- Lateral error by lookahead
- Chosen lookahead with reasons