signalk-server icon indicating copy to clipboard operation
signalk-server copied to clipboard

Derive ship midship position from multiple GPSs

Open mgrouch opened this issue 5 years ago • 4 comments

In case of multiple GPS NMEA sources Signal K should maintain location of the antenna for each GPS source individually and calculate midship GPS position taking into account antennas location on the ship. Otherwise speed and AIS, anchor watch can experience sudden jumps in GPS readings from different antennas. I think there should be a signal K plugin which would handle that by sending upstream NMEA sentences with the position adjusted to midship. Thanks

mgrouch avatar Mar 05 '20 18:03 mgrouch

That's an interesting idea! The way to go about it would be to add positional metadata about each sensor / position source under /sources. The calculation itself is not very complex. The plugin should use https://github.com/SignalK/signalk-server-node/blob/master/SERVERPLUGINS.md#appregisterdeltainputhandler-delta-next-- to intercept incoming messages.

tkurki avatar Mar 05 '20 19:03 tkurki

Is it possible to implement some kind of self calibration logic constantly adjusting so that the position output from signal K will be consistent relative to some fixed point on the ship? There is gotta be some kind of existing algorithm for that

mgrouch avatar Oct 17 '20 21:10 mgrouch

GPS Distance From Bow, GPS Distance From Center in settings doesn't make sense to me. Which GPS? There could be many in different places on a ship

mgrouch avatar Apr 11 '21 15:04 mgrouch

The that AIS transmitter is using. Or put it the other way: this is where gps receiver position on the ship from class A ais messages goes.

tkurki avatar Apr 11 '21 16:04 tkurki