2018-10-06, 05:50 PM
(2018-10-04, 08:05 AM)Werner_K Wrote: Hello,
now this is a bit tricky. If the setup tool of Openplotter does not make the NMEA Data from the GPS and AIS Devices running in Openpcn you must do it manually, by installing GPSD first. The PI must be online!
Open a shell and type:
sudo apt-get update
When ready, type
sudo apt-get install gpsd gpsd-clients python-gps
The GPSD-Daemon and the client tools will be installed.
When done, it is a good idea to restart the PI.
If done, open the shell again and test whether the NMEA-Data comes in. First the service has to be started:
sudo gpsd /dev/ttyAMA0 - F /var/run/gpsd.sock
or, if your GPS/AIS is an USB-device instead of ttyAMA0 type ttyUSB0! The last letter means Zero, not "O"!
If done, start gpsmon:
sudo gpsmon
In the window that appears should occur in the upper left corner the address i. E. localhost:2947 or something like that, if everything works fine. This is the address/port number you must add manually as a new connection in Openpcn. Choose tcp network and set the dot on gpsd. Then type in localhost and the port number you have noticed in the gpsmon. Restart Opencpn and test if NMEA Data come in.
That's it. Good luck!
Best Regards,
Werner
I guess you are in openplotter v0.x.x
In v1.x.x gpsd is fully integrated in serial tab