-
Notifications
You must be signed in to change notification settings - Fork 5
Periscope
Jose Jimenez edited this page Jan 30, 2021
·
78 revisions
This is the future of micromouse development.
The periscope feature allows the user to see exactly what is going on inside your micromouse. Enjoy.
The current issue with the development of the micromouse is in debugging the maze-solving algorithm in the
hardware. Aside from being time-consuming, it is confusing to diagnose an issue from a conglomerate stream
of repetitive output or LED status lights.
Streamline a protocol between the simulator and the micromouse to effectively animate the stream of data
in a virtual environment. Along with animating the data, the user can enter a command in a text box to
send to the micromouse and then view the response in a terminal-style serial monitor.
A periscope packet is sent from the micromouse to the simulator via a serial port connection i.e. Bluetooth
serial port cu.HC-06-DevB. Then, once the simulator parses the periscope packet the virtual mouse renders
an updated environment. Concurrently, a serial monitor is printing, in plain text, the data being recieved
from the micromouse.
send("Periscope: (16x16)(15,0)(north)(up)\n");
This is how your real-time data gets outputted to a terminal style serial monitor.
Welcome to the black box of every Micromouse