Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 18-03-2014, 14:04   #1
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,150
Magnetic variation test inquiry

My dear forum friends.

Is here anyone having a GPS close to a zero magnetic variation line and are willing to make me a small test.
I've a theory that no GPS in automatic variation mode will message a variation value less than 0.2 degree, plus or minus, and would like to have it tested.
The test can be done while crossing a zero line watching the NMEA signal, like the GPRMC, or why not record it using the VDR plugin.

The reason for my request is that my dated GPS, Garmin 120, no longer reports the variation. In automatic mode it reports 0.2 degree but I can manually force it to 000.
Now the fabulous Dashboard of OCPN can use the WMM plugin to make the true heading but only if the GPS variation is N/A, e.g. NAN. I've change my dashboard copy to do the same thing when the GPS variation is less then 0.1. It,s not a big problem to keep that updated on every new OCPN version coming from our team but if I can get rid of that it would be convenient. And also may I not be the only one having dated equipment. It could be that many of us using OCPN is not the folks buying the latest gadgets all the time?
If my theory happens to be correct It would be possible to implement my changes to the official OCPN Dashboard? And to a sufficient likelihood be convinced that we not force OCPN to use the theoretical WMM value instead of a possibly more accurate GPS value if the GPS would actually message a variation of 000.0 degrees.

I would greatly appreciate your participation.
Thanks Håkan
Hakan is offline   Reply With Quote
Old 19-03-2014, 14:10   #2
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,740
Re: Magnetic variation test inquiry

Håkan,

seems not that easy:

first there are not that many places where one might test with a zero variation -
Oran (Algeria), Ebro delta-Valencia Spain, Belgium, Norwegian westcoast, Missisippi delta, North coast Yucatan, Pacific coast of Nicaragua and Peru. A point at the Westcoast of Australia, Malacca straight and three or four points in Malaysia and Phillipines. Somalia (happy testing) and nearby to Karachi.

And second: which GPS do display magnetic variation? It's foreseen in the RMC message but for example neither SIRF nor uBlox do implement those in their basic chipsets.
Would be interesting to see a list of GPS sensors which produce this data.

Hubert
bcn is online now   Reply With Quote
Old 19-03-2014, 15:28   #3
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: Magnetic variation test inquiry

Håkan

That's it then! Your summer cruise has a purpose, and the destination is Stavanger!
While you're there, please give us a report on the restoration of "Wyvern" .

Thomas
cagney is offline   Reply With Quote
Old 20-03-2014, 00:33   #4
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,150
Re: Magnetic variation test inquiry

Hubert, Thomas ..Thanks for your participation.
Hubert I know this is not so easy. That's why I tried to involve the OCPN team where the most unexpected knowledge can be found. I'm also aware of the declination lines and as mentioned I'm not that far from a zero position my self. But that's the basic of this purpose. My GPS' inbound table is out of date. So Thomas I may go to Stavanger but not to test the GPS but more for other reasons. The old ship "Wyvern" is what I read safely returned home from Sweden. It could be worth a glance or more. But the nice equally named creature could maybe be noticed here at dark Saturday nights as well.
The second:
Well I thought if my dated Garmin has the function to do the same calculations as our WMM plugin there are more gadgets having the same feature. But it's maybe not so common? There are for sure no GPS sensors with an inbound WMM table. If it's available the navigator's software has to do it. And then they may have to trust the same table as we do in our WMM plugin?

One of the reasons for my discussion here is that Dave R once mentioned that his GPS (or navigator) reported another variation value then our WMM and therefore it could be risky to switch to the WMM table if the GPS really reports a variation of 0.0 degr when at such a position.
But I still claim no GPS, or navigator, will ever report a value less then 0.2 degr. So my search here was to find a way to verify that. But instead of doing it by an experiment it could also be that there is someone here with knowledge of the program in a navigator and can verify or refuse my assertion.

But my problem still remains. Since my GPS does include a value for variation in its RMC message, correct or not, Dashboard will never use our WMM table. And I can’t switch it of manually. Only force it to “000”.

Håkan
Hakan is offline   Reply With Quote
Old 20-03-2014, 00:52   #5
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,150
Re: Magnetic variation test inquiry

By the way ---
This is how I sort my incorrect RMC value out:
Code:
In dashboard_pi.cpp. Rows around 855

if( mPriVar >= 3 ) {
                        if( !wxIsNaN( m_NMEA0183.Rmc.MagneticVariation ) ) //Hakan
                         {
                            if(0.1 < m_NMEA0183.Rmc.MagneticVariation )
                            {
                                    mPriVar = 3;
                                    if( m_NMEA0183.Rmc.MagneticVariationDirection == East )
                                        mVar = m_NMEA0183.Rmc.MagneticVariation;
                                    else if( m_NMEA0183.Rmc.MagneticVariationDirection == West )
                                        mVar = -m_NMEA0183.Rmc.MagneticVariation;
                                        mVar_Watchdog = gps_watchdog_timeout_ticks;

                                 SendSentenceToAllInstruments( OCPN_DBP_STC_HMV, mVar, _T("\u00B0") );
                            }
And then the HDT will be updated from the WMM's table
Hakan is offline   Reply With Quote
Old 27-03-2014, 10:36   #6
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: Magnetic variation test inquiry

Hakan
Should this become a item in traker?
rgleason is offline   Reply With Quote
Old 28-03-2014, 14:00   #7
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,150
Re: Magnetic variation test inquiry

Quote:
Originally Posted by rgleason View Post
Hakan
Should this become a item in traker?
Well - Rick. I don't know-- There is, as far I know. no one else complaining about this "failure". What I refer to is the behaviour of an old GPS navigator where its WMM table is out of date and you in the same time have a fluxgate compass sending heading data into OCPN.
Then I claim we can take the risk assuming a variation of zero is a result of a dated navigator. But Dave R didn't really agreed at our last discussion.

But if you think its a good idea I could put my Git Diffs together and make a Flyspray item?

Håkan
Hakan is offline   Reply With Quote
Old 28-03-2014, 14:13   #8
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,740
Re: Magnetic variation test inquiry

It's a bit exotic isn't it? If somebody is able to test it I would be curious about the results, but I think it should not be in the software.
If there is a need for that very specific situation you have delivered the patch here.
bcn is online now   Reply With Quote
Old 28-03-2014, 15:11   #9
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,150
Re: Magnetic variation test inquiry

bcn..
What's exotic? The combination of an old navigator and a fluxgate where the WMM_pi is needed for the variation or crossing the zero line?
Sorry, I couldn't follow you due to my lacking English.
Håkan
Hakan is offline   Reply With Quote
Old 28-03-2014, 15:36   #10
Registered User

Join Date: Jun 2007
Location: SW Florida
Boat: FP Belize, 43' - Dot Dun
Posts: 3,823
Re: Magnetic variation test inquiry

FWIW, the trend in NMEA2000 is the gps no longer supplies magnetic variation, there are better devices, i.e. real computing devices to store/calculate variation. In NMEA0183 days, the gps did so for convenience, which is no longer required with NMEA2000 are it's a multi-talker network and no need for compound data structures to mask lack of network functionality.
DotDun is offline   Reply With Quote
Old 29-03-2014, 00:34   #11
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: Magnetic variation test inquiry

Dot Dun
I think I understand your point about nmea 2000 advantage and simpler data structure, but we don't all have new stuff. Eg my radar and a pilot is 20 years. nmea0183 is our reality, so for that reason I think Hagans patch has merit. Hakan don't know if others will have same problem, but a tracker entry with Patch and your explanation will help. It could have medium or low priority but someone will find their answer! So yes, please, use tracker. Your piece is am example of the strength of opencpn. Thanks

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
rgleason is offline   Reply With Quote
Old 29-03-2014, 00:36   #12
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: Magnetic variation test inquiry

P's this would not be a bug but a feature request or solution.

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
rgleason is offline   Reply With Quote
Old 29-03-2014, 00:46   #13
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,740
Re: Magnetic variation test inquiry

Håkan,

my impression is that the configuration you have (old GPS required for the fluxgate that does not show M variation any longer correctly) might be one that will not be found frequently ("exotic" ).

Which GPS delivers M_variation in the RMC message - we know about the Garmin you are employing? Which else? When do they time out?
The other parameter would be the predicted behavior for these devices when in a zone with var<0.2 which has to be confirmed yet if I understand you correctly.

Kind regards

Hubert
bcn is online now   Reply With Quote
Old 29-03-2014, 01:01   #14
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,150
Re: Magnetic variation test inquiry

Quote:
Originally Posted by rgleason View Post
..........Your piece is am example of the strength of opencpn. ......
Yes!...exactly. This lovely open source philosophy and the outstanding collection of coders in combination with this forum is great. You can try to share and convince others that you have a good idea and may have it implemented. But you can also make small additions to fit your own needs and with a little extra work, or pleasure?, still take advantage of new program versions.
I'll put my patches to Flyspray.
Thanks Håkan
Hakan is offline   Reply With Quote
Old 29-03-2014, 01:11   #15
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,150
Re: Magnetic variation test inquiry

Quote:
Originally Posted by bcn View Post
Håkan,

my impression is that the configuration you have (old GPS required for the fluxgate that does not show M variation any longer correctly) might be one that will not be found frequently ("exotic" ).

Which GPS delivers M_variation in the RMC message - we know about the Garmin you are employing? Which else? When do they time out?
The other parameter would be the predicted behavior for these devices when in a zone with var<0.2 which has to be confirmed yet if I understand you correctly.

Kind regards

Hubert
Thanks for the explanation Hubert. Yes I can agree that my combination of old and new stuff can be a bit odd. It may be a result of money savings and "Do it yourself".
The latter part is a better way of describing my questions to the forum. Thanks. /Håkan
Hakan is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hydraulic-magnetic and Magnetic Overcurrent Circuit Breakers chrysm Electrical: Batteries, Generators & Solar 4 17-03-2014 00:13
Chart Magnetic Variation? PDA1 OpenCPN 3 15-06-2012 10:35
Navigating by Variation ? barnakiel Navigation 3 30-10-2011 20:33
Variation Getting More Variable S/V Alchemy General Sailing Forum 20 07-03-2011 08:27
Deviation and Variation on Compass Sailaway Kid Navigation 8 02-07-2010 19:05

Advertise Here


All times are GMT -7. The time now is 09:51.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.