Embedded Motion Control 2013 Group 7/Recap3
Jump to navigation
Jump to search
Code strategy for corridor competition:
- Go straight.
- Feedback(comparing distance from the walls).
- Detect exit (i.e. comparing distance, 1side <1, other side >2).
- stop Feedback till point 5.
- Be in the center of the exit (compare laser data from each side like 45° and -45°, the distance has to be approximately equal.
- Turn 90° in the side of the exit.
- New Feedback ( loop algorithm n.3).
- Start Algorithm n.1.
- Stop after 2m.
How?