2022-01-04, 11:32 PM
Thanks guys. I tried turning off validate checksum and turning on remove null characters which suprisingly didn't change the log output.
The wind data is coming from a NASA Marine wind transducer connected to the RPi running openCPN via a serial to USB adapter. I read on another forum that the standard NMEA0183 sentence has floating point numbers with 1 deceimal place for wind angle and speed. The NASA transducer is outputting integers for those values in the NMEA sentence. For example:
NASA sentence: $WIMWV,345,R,2.3,N,A*21
Normal sentence: $WIMWV,345.0,R,2.3,N,A*21
I'm new to node-red but I think I could use it to clean the leading NULL chars and then convert ints to floats. Unsure whether it's better to then convert this back to an NMEA0183 sentence and then into signalK or send those values directly to a signalK path. Also not sure what's going on with the 'u\0000' in the first place either.
The wind data is coming from a NASA Marine wind transducer connected to the RPi running openCPN via a serial to USB adapter. I read on another forum that the standard NMEA0183 sentence has floating point numbers with 1 deceimal place for wind angle and speed. The NASA transducer is outputting integers for those values in the NMEA sentence. For example:
NASA sentence: $WIMWV,345,R,2.3,N,A*21
Normal sentence: $WIMWV,345.0,R,2.3,N,A*21
I'm new to node-red but I think I could use it to clean the leading NULL chars and then convert ints to floats. Unsure whether it's better to then convert this back to an NMEA0183 sentence and then into signalK or send those values directly to a signalK path. Also not sure what's going on with the 'u\0000' in the first place either.