Shop OBEX P1 Docs P2 Docs Learn Events
help please with Maze — Parallax Forums

help please with Maze

((sara))((sara)) Posts: 2
edited 2008-12-25 20:51 in Learn with BlocklyProp
please for my final project with Boe-Bot
I should make my robot mapping first on the Maze
after that It should remember the way in the maze
I should use ping sensor

please I need some Idea how can I make the Boe-Bot remember the way?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-12-24 22:39
    What do you have so far?

    Read the chapters in the Basic Stamp Manual on the READ and WRITE statements. These let you use some of the EEPROM for data storage. This is the EEPROM used for storing your program. You could use this to store the "way in the maze" like approximate distance travelled and direction for the next turn.
  • SRLMSRLM Posts: 5,045
    edited 2008-12-25 20:51
    There are different ways to store the path (filetypes, if you will). Personally, I like the tree method, where the robot travels on each possible path, and records the connections between junctions. Think of a family tree: from a small start, it grows outward. This idea has been done before, and you can probably find lots of information on the internet.
Sign In or Register to comment.