RooieDirk / NmeaConverter_pi

NmeaConverter OpenCPN Plugin
GNU General Public License v3.0
8 stars 11 forks source link

Translation of old NMEA sentences to latest version #38

Open Corsair-63 opened 11 months ago

Corsair-63 commented 11 months ago

thanks for the plugin, I found useful.

what was not clear in instructions is that should have to be formatted the whole NMEA sentence, I supposed that giving the requested parameters to exchange the plugin would format the whole new sentence, not big deal, trial and error and at last working as desired.

the matter in question: I have Raymarine autopilot transmitting in NMEA version 2.3, and the sentence RSA is not conforming the actual NMEA and OCPN standards, so, the rudder angle is not displayed in OCPN (I have only one rudder). I got rid of it connecting the autopilot via SeaTalk to my multiplexer and this is translating to proper version of NMEA and sent to OCPN where is properly displayed.

but just in case I keep the straight NMEA connection with computer and receiving: $AGRSA,0.00,A*4F when the correct one and translated from multiplexer is: $AGRSA,0.00,A,,V*4F

I really wonder to convert old sentence in proper version, and I did: first instance: $APRSA, $AGRSA1,$AGRSA2,0,V but the result was a complete mesh because with the second field was merging the old checksum giving: $APRSA,0.0,A*4F,0,V*0E with result that sentence is not valid mixing the old checksum in the second field of new sentence.

if I define the sentence as: $APRSA, $AGRSA1,A,0,V it gives me the proper new sentence: $AGRSA,0.0,A,0,V*68 but the second field is fixed in A, when for any reason could be V, giving erroneous information.

*does it seem that plugin do not understand that `""` is also a separator?**

Also, I learnt that sentences could not be translated with the same talker's name, because it crashes OCPN

rgleason commented 11 months ago

Should there a a dropdown selector for old nmea and new?

Corsair-63 commented 11 months ago

Should there a a dropdown selector for old nmea and new?

Where?

sshot-1

also there is no icon available in the Toolbar and every time you have to edit either add new conversion you must go to settings, plugins, etc ....