aesirkth / ground-control

All required software to make the Ground Station work
https://aesir.se
1 stars 1 forks source link

Start/stop serial reading from the dashboard #2

Closed wanysteus closed 4 years ago

wanysteus commented 4 years ago

We should link serial_link.py and dashboard.py so we can enable and disable serial readings from the dashboard

wanysteus commented 4 years ago

An idea to select the right COM port would be to try all available COM on the computer, send a recognizable string to it and wait for an answer. The Arduino would send a specific answer to that string so we know when we have found it

wanysteus commented 4 years ago

May use serial.tools.list_ports.comports to list all available serial devices (https://pyserial.readthedocs.io/en/latest/tools.html