explore it:
Fully explore the maze using a left-hand-on-the-wall strategy.
The above list of actions is a record of all the steps we took to fully explore the maze while looking
for the end, which is marked by the large black circle. Our goal is to now reduce this list to represent
the shortest path from start to finish by weeding out all of the dead ends. One option is to perform this
pruning when we finish the maze, but the better approach is to perform the pruning as we go to keep
our list from growing excessively large and taking up more memory than we have available.
Prune out the first dead end as we identify it.
Pololu 3pi Robot User’s Guide
© 2001–2019 Pololu Corporation
8. Example Project #2: Maze Solving
Page 47 of 85
Содержание 0J5840
Страница 24: ...Pololu 3pi Robot User s Guide 2001 2019 Pololu Corporation 5 How Your 3pi Works Page 24 of 85...
Страница 67: ...Source code Pololu 3pi Robot User s Guide 2001 2019 Pololu Corporation 10 Expansion Information Page 67 of 85...
Страница 77: ...Source code Pololu 3pi Robot User s Guide 2001 2019 Pololu Corporation 10 Expansion Information Page 77 of 85...