UAT 308 Automation and Robotics Technology

Worksheet 4 Planning and tracking in a mock field

Lab 12 hAssesses CLO1, CLO2

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

  1. Map the mock panel-row field and inflate obstacles by vehicle width
  2. Run RRT as in Example 1 with ten seeds; record length and nodes and compare with grid A*
  3. Measure the real steering delay from command to wheel motion
  4. Track the path with pure pursuit at three lookaheads, measure lateral error and compare with Example 2
  5. Choose the working lookahead with reasons based on measurements

Record of results

Table 1 RRT over ten seeds against A*
Seed or methodNodesRRT length (m)Length after shortcut (m)Points after shortcut
Table 2 Steering command delay
TrialCommand sent (s)Wheels start (s)Delay (s)How measured
Table 3 Lateral error by lookahead
Lookahead (m)Speed (m/s)Time to ±5 cm (s)Largest overshoot (cm)Oscillating or steady

Questions

  1. 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?

  2. Why must obstacles be inflated by the vehicle width before planning? Does inflation make the path longer or shorter, and what happens without it?

  3. 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.

  4. 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

CLO1 Explain robot kinematics and motion planning. CLO2 Develop robotic systems with ROS 2. (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