This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GPS data in Signal K but nothing in OpenCPN
#1
Hi, I'm using OpenCPN 5.6.2 and I've simply connected a usb GPS to my Raspberry pi 4b. The data appears to be received in signal K as the date stamp for all the GPS data is changing every 30 seconds. I've checked that the signal K connector is setup in OpenCPN -which it is- but I'm not receiving any GPS data in OpenCPN. Any ideas what I'm doing wrong?
Reply
#2
Is there any other data coming in to OpenCPN? Do you have the SignalK connection configured in OpenCPN correctly?

It should be:
localhost
port 3000
Server discovery OFF
Reply
#3
There is no other data coming into CPN and the signal K connection is configured as per the documentation and exactly as you've specified it
Reply
#4
...and you said you confirmed that the data browser is showing the data coming in to SignalK?

One thing you can try is the server log in the SignalK server. You can filter by a wide range of sources and processes. It would be interesting to know if the server is seeing it there.
Reply
#5
In signal K I'm actually receiving some data variables from the GPS
navigation.courseOverGroundMagnetic null rad 05/06 19:17:53 gps.GP (VTG)
navigation.courseOverGroundTrue null rad 05/06 19:41:45 gps.GP (RMC)
navigation.datetime "2023-05-06T18:41:45.000Z" 05/06 19:41:45 gps.GP (RMC)
navigation.gnss.antennaAltitude 60.6 m 05/06 19:17:53 gps.GP (GGA)
navigation.gnss.differentialAge 0s 05/06 19:17:53 gps.GP (GGA)
navigation.gnss.differentialReference 0 05/06 19:17:53 gps.GP (GGA)

but I noticed that the navigation.position doesn't have any variables, could this be that the GPS is not working correctly?

Not seeing much come through the serve log in the Signal K server
Reply
#6
(2023-05-06, 07:49 PM)Duncan Wrote: In signal K I'm actually receiving some data variables from the GPS
navigation.courseOverGroundMagnetic null  rad 05/06 19:17:53 gps.GP  (VTG)
navigation.courseOverGroundTrue null rad 05/06 19:41:45 gps.GP  (RMC)
navigation.datetime "2023-05-06T18:41:45.000Z" 05/06 19:41:45 gps.GP  (RMC)
navigation.gnss.antennaAltitude 60.6 m 05/06 19:17:53 gps.GP  (GGA)
navigation.gnss.differentialAge 0s 05/06 19:17:53 gps.GP  (GGA)
navigation.gnss.differentialReference 0 05/06 19:17:53 gps.GP  (GGA)

but I noticed that the navigation.position doesn't have any variables, could this be that the GPS is not working correctly?

Not seeing much come through the serve log in the Signal K server

If it's a new usb gps you could  try making sure it has a good view of the sky and leave it running for a few hours to update with data from the satellites at it's new position.
Reply
#7
It seems that you do not have a position fix yet, try outdoors.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)