Lab 08. Transitioning to Object Detection
You've learned how to do line-following last lab. You learned how to do wall-following earlier. Now, it's time to finish the tournament, by performing object detection. Then, it's all just improving your performance in the tournament until the Final Tournament.
Pre-lab
- None
Lab
1. Transitions
The first thing to figure out is how to transition between tournament sections. When does your robot know to stop line-following, and start wall-following? When does it know to start object detection? Ensure that your robot "knows" when it is in each section of the tourament.
2. Implement a Sweep
Using the constructed object detection arena, implement an object detection sweep with your robot. Make sure that it can figure out the angle at which an object lies from it. Sweep back and forth with the robot and have it drive towards the closest object.
3. Demonstrate All Angles (homework)
Show that your robot can approach the object from any possible angle, i.e., your robot can be spun around arbitrarily and still find the object.
4. Stay within the Arena (not homework)
You will eventually need to ensure that your robot stays within the white lines of the object detection arena. That is like combining line-following with object detection. That is not due this week, but you should probably get it figured out soon.
As usual, you will be marked on the following scale:
- 5: Exceptional demonstration of lab concepts (exceeds requirements)
- 4: Good demonstration of lab concepts (meets requirements)
- 3: Reasonable demonstration of lab concepts (one or two requirements unclear)
- 2: Missing one or two lab concepts
- 1: Missing most lab concepts
- 0: No attendance/no completion.