Skip to content

Periscope

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

Architecture

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 advantages 
and disadvantages.  
Protocol (text-based):
send("Periscope: (16x16)(15,0)(north)(up)");
Protocol (byte-based):

Example

Clone this wiki locally