Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 15-09-2013, 15:15   #46
Senior Cruiser
 
Jim Cate's Avatar

Cruisers Forum Supporter

Join Date: May 2008
Location: cruising SW Pacific
Boat: Jon Sayer 1-off 46 ft fract rig sloop strip plank in W Red Cedar
Posts: 11,468
Re: Please Help: Magnetic Course Display in OpenCPN

Dave, that sounds pretty darn good to me. Thanks for taking our irreverent desires seriously.

Cheers,

Jim (and I know that Ann will be tickled too)
__________________

__________________
Jim and Ann s/v Insatiable II , lying Port Cygnet, Tasmania once again
Jim Cate is offline   Reply With Quote
Old 15-09-2013, 15:24   #47
Registered User
 
Viking Sailor's Avatar

Join Date: Nov 2006
Location: San Francisco Bay
Boat: Fantasia 35 - s/v Feeling Good
Posts: 1,074
Re: Please Help: Magnetic Course Display in OpenCPN

Quote:
Originally Posted by bdbcat View Post
Wow...

I knew this one would not be as simple as adding T+V=M.
Thanks for all the feedback. As Pavel notes, my issue is philosophical rather than practical. COG(M) still bothers me, especially for AIS targets.

Anyway, here is my current proposal.

1. There will be a user specified variation entry field (USER_Var). It will be a constant for current instance of OCPN.
2. If user adds the WMM PlugIn, then the variation will be automatically calculated based on own-ship position. This value will override the USER_Var.
3. COG displayed on the bottom status line will be COG(M) (Much as this pains me...)
4. Bearings and Courses in the Route Properties dialog, route leg rollovers, and Active Route console will be (M), corrected for variation.
5. AIS target reports will show target COG(M). sigh....
6. OCPN knows nothing about deviation. If you have a steel boat, I guess you had better learn a little math

After I test this stuff locally, I shall never ever use it. But I hope some will find it improves their OpenCPN experience.

btw, I'm sure all realize that if you have your GPS receiver set to send Magnetic info, you will want to revert to True output, and depend on OCPN to do the math.

Ready for the next round?
Dave
Dave,

Great!

Sure I can't talk you into putting in one tiny deviation table? Only 8 entries. It could even be set up in the .ini file. What's a little table and a few "if" statements among friends? Please think about it. Please!

Thanks,

Paul
__________________

__________________
Viking Sailor is online now   Reply With Quote
Old 15-09-2013, 17:53   #48
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: Please Help: Magnetic Course Display in OpenCPN

Folks...

One modification to my proposal:

If a user has a GPS receiver that reports Variation as part of RMC sentence, that value will override the USER_Var. And the WMM PlugIn will be ignored in this case.

Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 15-09-2013, 18:28   #49
Moderator
 
JPA Cate's Avatar

Join Date: Nov 2011
Location: aboard, cruising in Australia
Boat: Sayer 46' Solent rig sloop
Posts: 10,718
Re: Please Help: Magnetic Course Display in OpenCPN

This is beginning to sound as if it will really happen...at last! Thank you all so very much.

Ann
__________________
Ann, with Jim, aboard US s/v Insatiable II, in Oz, very long term cruisers
JPA Cate is offline   Reply With Quote
Old 15-09-2013, 18:33   #50
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: Please Help: Magnetic Course Display in OpenCPN

Hi, its me again....

Source code builders may check out and build the lastest github source to exercise the True/Magnetic option implementation (FS#1025) prior to the next official Beta release. The pre-Beta is ready now as 3.3.910.

Good Luck
Dave
__________________
bdbcat is offline   Reply With Quote
Old 15-09-2013, 20:03   #51
Registered User
 
sy_gilana's Avatar

Join Date: Jan 2005
Location: On board
Boat: Van de Stadt 50'
Posts: 1,101
Send a message via Skype™ to sy_gilana
Re: Please Help: Magnetic Course Display in OpenCPN

Dave, you're a gentleman. Personally I live in the T world, Radar, ECDIS, Paper charts, AIS, every thing is in True. Personally I would prefer to hide the M values completely as I know that everything on board is true except for the compass. My conversion to M is simply to look at the compass and then at the COG and make a note of the total difference.

I suggest that the whole Magnetic debate in this thread is a moot point without a deviation table somewhere.

Your desire to improve the "user experience" is loudly applauded by me despite having no interest in the M-word as far as OpenCPN is concerned.

Could it not be a Plug in? and therefore completely optional?

over....
__________________
Tight sheets to ya.
http://gilana.org
sy_gilana is offline   Reply With Quote
Old 16-09-2013, 00:47   #52
Registered User

Join Date: Nov 2011
Posts: 9
Re: Please Help: Magnetic Course Display in OpenCPN

Quote:
Originally Posted by bdbcat View Post
Hey there, folks...
None of the above applies to bearings, however. That is what one reads from a hand bearing compass. Or what you might see on a printout of a proposed route, with steering instructions. No problem there whatsoever.

So, what say you all?

Dave
My specific request was for exactly as you say above. Using a hand bearing compass, especially in the Binoculars and printing route information.

What say you?? he asks...

I say I will sing the praises of Dave... His children's, children's, children's, children will be reminded of the day Dave added Magnetic bearings to OpenCPN...

Nearly everyone I know uses a Compass for steering and everything based on true. Even the Piloting course I took last year had us actually plot the points on the chart using True (so the they look nice) but LABEL THEM MAGNETIC so they could be used.

THANK YOU !!!
__________________
mileskb is offline   Reply With Quote
Old 16-09-2013, 07:40   #53
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,421
Re: Please Help: Magnetic Course Display in OpenCPN

I really do hope that after the dust settles on this effort, that someone like Viking Sailor will write the Opencpn Documentation supplement to "Magnetic Course Display" with care and clarity, and with the assistance of ALL who have been asking for this change, otherwise there will be "user confusion".

You can start thinking about where the new section goes, and start taking careful notes from this dialog, and participate in testing, where the rubber meets the road... -Who is going to volunteer to update the documentation?
__________________
rgleason is online now   Reply With Quote
Old 17-09-2013, 05:18   #54
Registered User
 
Stargazer1942's Avatar

Join Date: Sep 2013
Posts: 3
Re: Please Help: Magnetic Course Display in OpenCPN

Quote:
Originally Posted by bdbcat View Post
Wow...

I knew this one would not be as simple as adding T+V=M.
Thanks for all the feedback. As Pavel notes, my issue is philosophical rather than practical. COG(M) still bothers me, especially for AIS targets.

Anyway, here is my current proposal.

1. There will be a user specified variation entry field (USER_Var). It will be a constant for current instance of OCPN.
2. If user adds the WMM PlugIn, then the variation will be automatically calculated based on own-ship position. This value will override the USER_Var.
3. COG displayed on the bottom status line will be COG(M) (Much as this pains me...)
4. Bearings and Courses in the Route Properties dialog, route leg rollovers, and Active Route console will be (M), corrected for variation.
5. AIS target reports will show target COG(M). sigh....
6. OCPN knows nothing about deviation. If you have a steel boat, I guess you had better learn a little math

After I test this stuff locally, I shall never ever use it. But I hope some will find it improves their OpenCPN experience.

btw, I'm sure all realize that if you have your GPS receiver set to send Magnetic info, you will want to revert to True output, and depend on OCPN to do the math.

Ready for the next round?
Dave
Dave:

Wow, when I started this thread, I had no idea of the complexities of the issue. And frankly I don't have the programing skills to follow some of the discussion. So, please forgive my ignorance. What I was hoping for, was check box that when checked would display the bearing information in magnetic, based on the information in the plugin depending on the vessel's location and when unchecked would display the bearing information in true, without changing the underlying calculations. Is that, essentially, what you have proposed?

Norm
__________________
Stargazer1942 is offline   Reply With Quote
Old 17-09-2013, 06:25   #55
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,778
Re: Please Help: Magnetic Course Display in OpenCPN

Norm,
it is already in 3.3.910 sources and works fine. Picture from my localized german version still without localized text for this check-box.
Attached Thumbnails
Click image for larger version

Name:	True-Magn.png
Views:	94
Size:	64.2 KB
ID:	67353  
__________________
CarCode is offline   Reply With Quote
Old 20-09-2013, 01:06   #56
Registered User

Join Date: Jun 2011
Location: 27south
Boat: Easton 47
Posts: 65
Re: Please Help: Magnetic Course Display in OpenCPN

Dave ..more good stuff....many thanks !!

had a play with 910 on OS X.7.5 today, compiled with no errors and all seems normal.... i am sure u are aware that O is not checking that a Var variable (Var value) exists before displaying COURSE M, I noticed this as i had no mag input (GPS or plugin) an when hovering over a course T & M are the same ......

when i then compiled with wmm_pi all is working as expected sort of..
on the first run, after enabling wmm plugin WX is throwing up an assert, plz see pic..... clicking cancel appears to give full functionality.

also ... 4 Pavel when compiling the wmm plugin on the Ithing the dylib is not getting dragged into the app bundle, had to copy an paste from build/plugins/ , think its in the build/wmm_pi/CMakeLists as all other plugins (that compile on mac) are being pulled in.

Mo
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2013-09-20 at 10.07.59 AM.png
Views:	66
Size:	282.2 KB
ID:	67565   Click image for larger version

Name:	Screen Shot 2013-09-20 at 4.50.30 PM.png
Views:	73
Size:	283.3 KB
ID:	67566  

__________________
Icnoships is offline   Reply With Quote
Old 20-09-2013, 03:45   #57
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,778
Re: Please Help: Magnetic Course Display in OpenCPN

Mo,

comment out the lines with GetInfo in jsonval.cpp:

// wxLogTrace( traceMask, _T("(%s) actual object: %s"), __PRETTY_FUNCTION__, GetInfo().c_str());

to silence the assert.

I do not use command line tools on Mac OS X but Xcode to build a running bundle of OCPN. The new Xcode 5.0 with SDK 10.9 (Mavericks) works fine.

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 20-09-2013, 09:22   #58
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,250
Re: Please Help: Magnetic Course Display in OpenCPN

Quote:
Originally Posted by Icnoships View Post
Dave ..more good stuff....many thanks !!

had a play with 910 on OS X.7.5 today, compiled with no errors and all seems normal.... i am sure u are aware that O is not checking that a Var variable (Var value) exists before displaying COURSE M, I noticed this as i had no mag input (GPS or plugin) an when hovering over a course T & M are the same ......

....
The default variation is set to 0 if no other rules kicks in, that explains why T & M are equal.

Thomas
__________________
cagney is offline   Reply With Quote
Old 20-09-2013, 14:05   #59
Registered User

Join Date: Jun 2011
Location: 27south
Boat: Easton 47
Posts: 65
Re: Please Help: Magnetic Course Display in OpenCPN

Thanks Gerhard will give that a try when i get a moment :thumb

Thomas .... so what u are saying is M is really T when no variation input is available even though it is displayed as M, think maybe it should default to T or a warning pop up minimum.

Mo
__________________
Icnoships is offline   Reply With Quote
Old 21-09-2013, 01:03   #60
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 2,769
Re: Please Help: Magnetic Course Display in OpenCPN

Quote:
Originally Posted by Icnoships View Post
Thomas .... so what u are saying is M is really T when no variation input is available even though it is displayed as M, think maybe it should default to T or a warning pop up minimum.

Mo
How should the program know? If the users choses to have the bearings in M they are M, even if the variation is 0 and M=T.
And being 0 may have two reasons: or it is really 0 at this place or the user has not changed the default value AND the WMM-Plug-in is not in place
__________________

__________________
bcn is offline   Reply With Quote
Reply

Tags
enc, lease, opencpn, paracelle

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 19:06.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.