OpenMarine
Python script jams gps? - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3)
+--- Thread: Python script jams gps? (/showthread.php?tid=2812)



Python script jams gps? - Tuomas_S - 2020-08-02

Ok, on with the installation. I have a gps unit that sends regulard nmea0183 data. If I cat the device, (/dev/ttyOP_gps) I will see unpasered dnmea ata. I wrote a small python script (using pynmea2 library) that tries to parse that data (idea being to send those coordinates to an lcd display later) script doesn't go through, it reports device readiness but no data input, and after running the script catting device doesn't return anything. any suggestion as to where to start debbugging? 

according to opencpn, gps fix remains. however i'm still indoors setting the system up, so i wouldn't count on it.