SignalK / signalk-to-nmea0183

Signal K Node server plugin to convert Signal K to NMEA 0183
Apache License 2.0
12 stars 28 forks source link

Create DPT-surface.js #102

Closed davidsanner closed 6 months ago

davidsanner commented 6 months ago

Using surfaceToTransducer to calculate water depth from surface not bottom of the keel. (eg. Airmar DST810 provides surfaceToTransducer.)
Current DPT sentence uses transducerToKeel which has to be derived (in my case) and measures the depth at the bottom of the keel not the depth of the water. https://gpsd.gitlab.io/gpsd/NMEA.html#_dpt_depth_of_water

Personal preference... for extra confusion DPT allows for either.