2017-09-30, 01:44 AM
(2017-09-22, 04:52 AM)seandepagnier Wrote: if gpsd is running and cgps works, then you must not make a serial connection.
Maybe openplotter can forward gpsd to a tcp socket, but normaly opencpn can connect directly to gpsd.
In opencpn you make a "gpsd" connection not "tcp" to localhost usually it's on port 2947.
Maybe opencpn should auto-scan for gpsd?
I have the same issue.
My gpsd is working well. I am checking with xgps
i had to modify the settings : USBAUTO= "true" in case i dsiconect and reconect the gps + DEVICES = "/dev/ttyUSB0"
If i connect gpsd straight from Opencpn it's working also. i can see the nmea sentence + green signal
But impossible to make it work with openplotter.
Even if i know how to get my postion in an other way i'd like to get it from openplotter to send it latter to my VHF radio.
i tried with usb manager => adding a serial ttyPO_gps and then in the nmae tab i add this Port. I thought it was not working because gpsd was already using /dev/ttyUSB0.
i killed gpsg (killall gpsd) but it is still not working, maybe beacuse after a while gpsd restart automaticaly (ps -aux | grep gpad ) ? Maybe because Openplotter cannot understand binaries from the usb com when gpsd can ? i am diaspointed becaus if the gps is not on /dev/ttyUSB0 gpsd will not work anymore.
Last point i tried to set gpsd as an input of Openplotter and it is not working also ?
in the NMEA tab i used various settings
i tried to set somting like that :
TCP / 127.0.0.1 / 2947
when i click on inspector and latitude for example i get localhost:10110 Error time out
if i restart Kplex my new gpsd line deasappear ! sounds like a bug ?
I have tested on 0.8.0 version of Openplotter.
Any idea ?
Cordialy
Dominique