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
Send GPS data from OpenPlotter to Tinypilot
#6
Hi Sean,
Sorry for my late response.
GPS data comes from a "Neo-6M" GPS connected via UART5. I configured it in OpenPlotter "Serial" application to send data to Signal K.
Here is an excerpt of GPS data from Signal K Data Brower for the data you mentioned :

Path                                 Value                Units  Timestamp       Source
navigation.speedOverGround           0.13194444444444445  m/s    02/15 13:32:25  gpsneo6m.GP  (VTG)
navigation.courseOverGroundTrue      null                 rad    02/15 13:33:03  gpsneo6m.GP  (VTG)

We can see that "navigation.courseOverGroundTrue" have a null value.


Here is an excerpt of the pypilot execution logs with debugging enabled:

signalk zeroconf service add avnav-server._http._tcp.local. _http._tcp.local.
signalk zeroconf service add openplotter._http._tcp.local. _http._tcp.local.
signalk server found 10.10.10.1:3000
signalk probe... 10.10.10.1:3000
servo probe ('/dev/ttyAMA0', 38400) 2367.521671
nmea client failed to connect openplotter:10110
signalk found ws://10.10.10.1:3000/signalk/v1/stream?subscribe=none
signalk connected to ws://10.10.10.1:3000/signalk/v1/stream?subscribe=none
servo probe ('/dev/ttyAMA0', 38400) 2372.714597
Exception converting signalk->pypilot unsupported operand type(s) for /: 'NoneType' and 'float' {'GP': {'navigation.position': {'longitude': -4.000000000000000, 'latitude': 47.0000000}, 'navigation.courseOverGroundTrue': None, 'navigation.speedOverGround': 0.1193511413467336}}

For security reasons, I replaced the decimal digits with zero in the longitude and latitude values  Wink

It looks like pypilot is in having issues with this "None" value for "navigation.courseOverGroundTrue".
Maybe because I'm testing from home, without moving ?
Reply


Messages In This Thread
RE: Send GPS data from OpenPlotter to Tinypilot - by MarineW29 - 2024-02-15, 07:13 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)