GaryWSmith / xdr-parser-plugin

Signalk plugin to parse nmea0183 XDR sentences
5 stars 1 forks source link

IIXDR Roll and Pitch interpreted ? #6

Open Champang opened 1 month ago

Champang commented 1 month ago

Hello, I can't configure the xdr-parser-plugin (https://github.com/GaryWSmith/xdr-parser-plugin). The HDM part is correctly interpreted For the IIXDR sentence, correctly interpreted by OpenCPN, I can't do it with xdr-parser-plugin. Can you help me to configure? Best regards.

Exemple NMEA0183 receive by signal-server or OpenCPN

$IIXDR,A,-1,D,ROLL,A,-1,D,PTCH,A31 $GNHDM,214,M32 $IIXDR,A,-1,D,ROLL,A,-1,D,PTCH,A31 $GNHDM,214,M32

On Signalk-server Data Browser, i have : navigation.headingMagnetic 3.735004600120677 rad 09/15 16:03:36 BNO.GN (HDM)

Configuration for XDR Sensor definitions Name of the nmea0183 sentenceEvent (must match an incoming NMEA type connection which contains XDR sentences) IIXDR Descriptive Sensor name : Pitch Category : navigation Units : A XDR Sensor identifier : PTCH Math expression : x Fixed decimal : 0 Signalk Path * : navigation.attitude.pitch

KEGustafsson commented 1 month ago

$IIXDR,A,-1,D,ROLL,A,-1,D,PTCH,A31 is invalid nmea sentence, start for checksum is wrong and checksum value is wrong.

Valid sentence would be $IIXDR,A,-1,D,ROLL,A,-1,D,PTCH*5C