A small python script to monitor live data read from UART and show them in a plot.
Each line is searched for an integer/float using the regex: ^.raw:\s+(-?\d+(.\d+)?).$
example line: [DEBUG] raw: 1664227.0
sudo apt-get install python3-matplotlib python3-serial
or
pip3 install matplotlib pyserial
#linux
python3 plotter.py /dev/ttyUSB0
#windows
python3 plotter.py COM3