tom-r / tactics_pi

a performance enhancement of dashboard_pi for OpenCPN
16 stars 14 forks source link

Send also $BWC NMEA0183 sentence. Not only XTE + RMB #43

Open sjpapa2 opened 5 years ago

sjpapa2 commented 5 years ago

In the tactics app, the phrases $PNKEP were included. These are for the polar performance calculator on the NKE platform.

Alas teh XTE menu requires also teh $BWC sentence. Can anyone, who make the PNKEP sentence, help extend the sentence maker?

Or explain how to extend the sentence maker?


OK: $xxXTE : écart de route (cross-track error) et
 Missing $xxBWC : distance et cap à la destination (DTW et BTW) ou OK: $xxRMB : XTE, latitude, longitude et distance et cap à la destination

rgleason commented 5 years ago

While it might be useful in tactics, why not use nmeaconverter_pi to test trial making this sentence. If you can do it, it would provide the sentence as a workaround. I think nemaconverter is exactly what you need. See https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn:opencpn_user_manual:plugins:logs:nmea_converter&s[]=nmeaconverter

If you can provide me with some screenshots and formulas after you get it working, I will add this example to nmeaconverter.

BTW what is BWC? Please see https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn:opencpn_user_manual:terminology

Also Tactics Terminology here https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn:opencpn_user_manual:plugins:sailing:tactics#terminology

rgleason commented 2 years ago

He wants tactics to populate "the XTE menu to show $BWC sentence"

This is not what Tactics does. Also the VMG calculated by Opencpn is a "motorboat" version of VMG to a mark.

Tactics cannot interfere with the XTE display. It is a separate plugin. There are issues with this and the API does not allow it.

This should be closed now. @tom-r @sjpapa2 Thanks.