Closed keegandent closed 1 month ago
I still have some code cleanup and minor QoL (validity checks, command aliases) to add sometime tomorrow evening, but I would appreciate it if @BGull00, @charizzo, and maybe even @jimplank could try it out. It's independent of any FPGA programming code, so one need only follow the instructions for dropping this repo in the framework, checking out this branch, and pip install -e .
into your framework env in order to test these changes. Then, it should be as simple as running python fpga/scripts/packet_vis.py
and opening a browser to 127.0.0.1:8050
.
@BGull00 suggested some documentation to explain the dynamic packet structures, but after considering how challenging it might be to convey said structures in a static document, I have decided to create an interactive visualization utility. I thought about doing this in PyQt, but everything and its mother is web-based these days, so I used the opportunity to make it in Dash. Below is an example of what the UX looks like, loaded with the pole-balancing RISP network file from the Framework.
As an added bonus, you can connect to the vis tool on your smartphone, which is pretty neat but probably not very practical.