Skip to content

Periscope

Jose Jimenez edited this page Jan 19, 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.


Problem

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.

Solution

 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.

Periscope Protocol

 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.  
text-based:

Periscope: (3x3)(3,0)(north)(up)

byte-based:

[ preamble | maze_width | maze_height | mouse_location | maze_wall_encoding | maze_cell_distance_encoding | end_of_transmission ]

Example

Clone this wiki locally