n2k Heading True Derived Data

Hi all! Im getting N2k via the YDWG-02 dongle. It seems Iā€™m not getting "Heading True" which is needed for the Derived-Data in order to calculate TWA & TWS. Im getting Heading True from the NEMA 0183 connection, but I only want to use N2K. According to the YDWG-02 manual YDWG-02 NMEA 2000 --> NMEA 0183 converter is able to calculate True Heading. Magnetic variation is used in RMC, HDT, HDG, VDR, VHW, VTG. Priority of variation PGNs: 127250, 127258, 65311 I have a hard time understanding what to do with the above so was wondering if Derived Data or another plug can calculate Heading True? maybe @Scott Bender has an idea?
17 Replies
Scott Bender
Scott Benderā€¢2mo ago
I don't understand the bit about 0183 conversion The YDWG-02 does not do 0183 conversion If you don't have a device on the network that sends True Heading, then the YDWG-02 won't provide it You can use derived data to calculate true heading from magentic
Chisburgers
ChisburgersOPā€¢2mo ago
got it. I have an ev 100 with the P70, I assume one of those can send True Heading in the 0183 connection. But its really perfect if I can use derived data to calculate True Heading. Any pointers how to do that?
Scott Bender
Scott Benderā€¢2mo ago
I hace the ev100 does not send out true heading just use the dervived data plugin to calculate it it's a very simple calculation and it is exatly what the the ev100 would do if it sent it the Raymarine MFDs used to calculate it and send it out, but they not implement that in Lighthouse 3/4 that requires navigation.magneticVariation, which the Raymarine MFDs do send out you can provide a default value to use if the MFD is off
Chisburgers
ChisburgersOPā€¢2mo ago
hmm, i dont have an MDF, only P70, St60 wind and tridata + a older Garmin Gpsmap
No description
Chisburgers
ChisburgersOPā€¢2mo ago
the image shows the 0183 conection anyway, lets see if ia can solve it with dervived data. Do you have an example/suggestion how to do the calculation?
Scott Bender
Scott Benderā€¢2mo ago
I just hardcode navigation.magneticVariation in defaults, it never changes for me
Chisburgers
ChisburgersOPā€¢2mo ago
so navigation.magneticVariation = navigation.headingTrue šŸ˜…
Scott Bender
Scott Benderā€¢2mo ago
no, that is used by derived-data to calculate headingTrue
Chisburgers
ChisburgersOPā€¢2mo ago
Not my strongest part but do I get it right if 1. Signal K outputs navigation.magneticVariation (seems my NK2 network supplies this) 2. Then use derived-data calculate headingTrue from navigation.magneticVariation and ? 3. Whats the derived-data calculation ?
Scott Bender
Scott Benderā€¢2mo ago
all you have to do is add navigation.magneticVariation to defaults, and enable the true heading calculation in derived-data for #3 did you want me to show you the math?
Chisburgers
ChisburgersOPā€¢2mo ago
ahh, no. I thought i needed to build the calculation myself and add it to Derived Data
Scott Bender
Scott Benderā€¢2mo ago
it's there already
Chisburgers
ChisburgersOPā€¢2mo ago
got it thanks, will see if i can set it all up with a simulator plug in at home šŸ™‚
Scott Bender
Scott Benderā€¢2mo ago
^^^^^ how to add magneticVariation as static data hah, even has navigation.magneticVariation as an example
Chisburgers
ChisburgersOPā€¢2mo ago
yeah saw it šŸ˜„ ill just copy it got it all working! Thanks alot for the support!
Scott Bender
Scott Benderā€¢2mo ago
ur welcome!
Want results from more Discord servers?
Add your server