Path Memory


#1

I want my bot to solve a maze. At the same timı, i want it to remember the path that it follow while finding the exit of the maze. Any idea about how to do?

Thank you


#2

How does the maze look like? Walls, space, line on the floor, simple or circular maze?
What is your knowledge on programming?
Do you know C?
Why would you like to remember the path?


#3

If you are running the program from within mBlock on your computer to control the mBot with a wireless (or bluetooth) connection, you can use a list to store the path. However, you may experience some lag-related issues. If you are wanting to have the program run on the mBot, you will need to write it in C in the Arduino environment. The mBlock code generator only supports the use of doubles for variables and it does not support lists at all.


#4

thanks as always chuck! you and this forum help me get better thus adding more to everything i do in class! is your second book out as yet? also , im working on printing your cool posts & pegs for the maze… but alas my deltah2 printer is acting up currently, and decoupling the extruder heater


#5

Thanks marc, my second book is dragging because of my FTC team commitment which is eating up a bunch of my writing time. For the FTC thing, I’m putting together a crash course on the mechanical, electrical, and software elements to get the new team up to speed so I’ve got more time next Fall. I may even turn those materials into a book at some point…


#6