-
Notifications
You must be signed in to change notification settings - Fork 5
Periscope
Jose Jimenez edited this page Jan 20, 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.
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.
I list two periscope protocols. The first is a simple text-based protocol, and the second is a more
sophisticated byte-based protocol. Neither is better than the other but both come with their strength
and weakness.
```
send("Periscope: (16x16)(15,0)(north)(up)");
```
Periscope: (3x3)(3,0)(north)(up)
[ preamble | maze_width | maze_height | mouse_location | maze_wall_encoding | maze_cell_distance_encoding | end_of_transmission ]
Welcome to the black box of every Micromouse