2024-02-15, 07:13 PM
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
It looks like pypilot is in having issues with this "None" value for "navigation.courseOverGroundTrue".
Maybe because I'm testing from home, without moving ?
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
It looks like pypilot is in having issues with this "None" value for "navigation.courseOverGroundTrue".
Maybe because I'm testing from home, without moving ?