wellenvogel / avnav

using the raspberry pi as a nav computer
MIT License
87 stars 27 forks source link

Read magVariation #331

Closed kdschmidt1 closed 7 months ago

kdschmidt1 commented 8 months ago

Hello Andreas, it would be nice, if avnav could read magVariation if it is available on the system for further calculations. This could be done either by SignalK, or $RMC or $HDG. all three cases are covered by different Commits in this pull request. regards kd

wellenvogel commented 7 months ago

Thanks for the PR!

wellenvogel commented 7 months ago

Do you have any real life test data to check the correctness?

kdschmidt1 commented 7 months ago

Hello Andreas, I have only real life data in N2K format. You can find an example at sample data. The mag. Variation in this example comes from a B&G Triton2 Instrument via SignalK. The NMEA0183 functionality i have tested with Timo's NMEASimulator. Regards kd