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 23-02-2019, 12:29   #2311
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,747
Re: Beta Test / Technical

just for fun from the NMEA web site:

NMEA 0183 Pricing:
NMEA has established a tiered pricing system for NMEA 0183 Version 4.11 Release November 2018.
This is based on industry group.
Marine Industry Manufacturer $1000 (NMEA Member), $2000 (non member)
Industrial Manufacturer $2,500
Consumer Electronics Manufacturer $5,000.
Future updates to the NMEA 0183 Standard (after version 4.11) are 50% off the prices above based on purchase history.
Contact info@nmea.org or call 410-975-9425 for purchasing NMEA 0183.

Sponsors wanted...
bcn is offline   Reply With Quote
Old 23-02-2019, 16:15   #2312
Registered User

Join Date: Feb 2019
Location: Cartagena, Spain
Boat: Furia 372 - 11.20m
Posts: 348
Re: Beta Test / Technical

Quote:
Originally Posted by transmitterdan View Post
On further research it appears that the RMC field descriptors within the O source code are not accurate for the current NMEA standard. The RMC field for course is indeed supposed to be course over ground but in the sources it is called "TrackMadeGoodDegreesTrue".
In the NMEA0183 3.01 doc appears "Course Over Ground" in field 8 of the RMC sentence.
I would not touch the content, I would just change the name of the variable in O and I would put an "alias" or define it with the old name.
Tehani is offline   Reply With Quote
Old 23-02-2019, 17:03   #2313
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,639
Images: 2
Re: Beta Test / Technical

Quote:
Originally Posted by Tehani View Post
In the NMEA0183 3.01 doc appears "Course Over Ground" in field 8 of the RMC sentence.
I would not touch the content, I would just change the name of the variable in O and I would put an "alias" or define it with the old name.

In our wiki for Nmea0183 what does
  • "8. Track Made Good, degrees true"

become?
  • "8. Course Over Ground (COG) [Nmea0183 v3.01] - used to be Track Made Good, degrees true"?
rgleason is offline   Reply With Quote
Old 23-02-2019, 17:14   #2314
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Beta Test / Technical

Rick...
Do not do anything. There is no change in the code, there does not need to be any change anywhere else. The reference documentation available to us, people who are not in the NMEA cartel and not bound by the NDA associated with it, is clear: NMEA Revealed

Pavel
nohal is offline   Reply With Quote
Old 23-02-2019, 17:16   #2315
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,402
Re: Beta Test / Technical

All.


I am no linguist, but I cannot see the semantic difference between:


"course over ground" and "TrackMadeGoodDegreesTrue".

Anyone have insight?


Dave
bdbcat is online now   Reply With Quote
Old 23-02-2019, 21:11   #2316
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: Beta Test / Technical

Dave,

Track made good is meaningless to me. A track could mean the lane to the next waypoint but it doesn’t matter. The RMC sentence should send COG as it has always done. No change needed.

Only the RMB sentence is in error as far as I can tell. The standard wants the velocity in RMB to be the vector speed toward the next waypoint not COG.
transmitterdan is offline   Reply With Quote
Old 23-02-2019, 23:06   #2317
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: Beta Test / Technical

Sorry, I mean It should not be SOG. Been a long day...
transmitterdan is offline   Reply With Quote
Old 25-02-2019, 04:56   #2318
Registered User

Join Date: Feb 2019
Location: Cartagena, Spain
Boat: Furia 372 - 11.20m
Posts: 348
Re: Beta Test / Technical

Quote:
Originally Posted by transmitterdan View Post
I will do some research to see if there is a historical reason. I see no reason to send SOG in a field meaning "closing speed". It is ok that RMB is only sent when running a route. That's the only time closing speed has a meaning.
I think we should consider something more about the VMG treatment because that data can be displayed in the dashboard:
In my tests, no VMG information has appeared in any case, whether or not OCPN is in WPT navigation mode.
When O is not in navigation mode, it is entirely possible that an external browser is performing that function. In this case, the VMG information does not appear in the dashboard and is nevertheless present in the RMB entry to O.
It would be advisable to decide on a policy in this regard. My opinion is that it would be good to activate the navigation box also when RMB sentences are detected at the entrance, and to reconfigure the VMG of the dashboard as Wind VMG, presenting the information of the entry VPW sentence, or calculating it internally.
I have not yet studied the data structure of O, I understand that it is possible that it is necessary to make an effort to unify the data of the internal navigator with those that come by the RMB sentence. It is also possible that this is not a priority at this time...
Tehani is offline   Reply With Quote
Old 25-02-2019, 05:13   #2319
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: Beta Test / Technical

The RMB sentence we are discussing is transmitted out by O not received. O does not change the meaning of an incoming RMB sentence. Unless there is an infinite loop created externally O will never see the RMB sentence it transmits. And an infinite loop like that is to be avoided at all times anyway.
transmitterdan is offline   Reply With Quote
Old 25-02-2019, 06:26   #2320
Registered User

Join Date: Feb 2019
Location: Cartagena, Spain
Boat: Furia 372 - 11.20m
Posts: 348
Re: Beta Test / Technical

Quote:
Originally Posted by transmitterdan View Post
The RMB sentence we are discussing is transmitted out by O not received. O does not change the meaning of an incoming RMB sentence. Unless there is an infinite loop created externally O will never see the RMB sentence it transmits. And an infinite loop like that is to be avoided at all times anyway.
When O is in navigation mode, the VMG field of the dashboard also does not display anything. What information should appear there?

I understand you, to avoid a data loop, O should control what data arrives on each channel and filter so as not to forward on the same channel.

The data loops are the eternal problem in many installations.
Tehani is offline   Reply With Quote
Old 28-02-2019, 05:59   #2321
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,639
Images: 2
Re: Beta Test / Technical

Track made good, degrees, true
  • Track= some course
  • made good = over ground
  • degrees, true.
Which is COG
-------
Dev Manual improvement
In the Dev Manual I added
pi116 (1.16)= OpenCPN 4.99 (5.00 or ov50)
Does anyone have a list of what has been added? (Similar to pi115 above?)
--------

Messaging
Tehani you might want to read Jon Gough's writeup for Ocpn_Draw ODAPI and Messaging (Which probably should be reviewed again sometime and improved by an Opencpn programmer)
---------


PS: I don't know if TransmitterDan's point should be explained more completely, as an example, somewhere in the wiki, perhaps under autopilot messaging? I think this topic might be best described with a flow diagram. Any suggestions?

Quote:
The RMB sentence we are discussing is transmitted out by O not received. O does not change the meaning of an incoming RMB sentence. Unless there is an infinite loop created externally O will never see the RMB sentence it transmits. And an infinite loop like that is to be avoided at all times anyway.
rgleason is offline   Reply With Quote
Old 28-02-2019, 06:10   #2322
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,639
Images: 2
ov50 - Plugin Branches

Is the best approach for moving to ov50 Plugins to make a new ov50 branch

  • git checkout -b ov50
and then make your changes to that branch only?


Also when the plugin is working and you are ready to make a PR, it would be helpful to know if it is possible to make a PR that requests a new branch in the other persons repository. If not, how is this handled?


Also when would the appropriate time be for the ov50 branch be merged into master?
  • During the PR?
  • Sometime later when everyone has moved forward to using Opencpn 5.00 and the the Version 4 plugins are basically frozen?
Some guidance would be helpful.
rgleason is offline   Reply With Quote
Old 28-02-2019, 06:16   #2323
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,639
Images: 2
Re: Beta Test / Technical

TDan I don't get this. Where do you find this reference? Everything I see says Track made Good, degrees true, or COG. Maybe we are not talking about the same thing? See several posts here


I asked you here:

Quote:
What is your source?

Later: Found NMEA data
" 084.4 Track angle in degrees True"

Subtle but big difference, but the standards committee can't just change this year to year!
...and never got a response.


TDan wrote:
Quote:
Only the RMB sentence is in error as far as I can tell. The standard wants the velocity in RMB to be the vector speed toward the next waypoint not COG. [Did you mean SOG?]
Earlier TDan wrote here:
Second post

Quote:
On further research it appears that the RMC field descriptors within the O source code are not accurate for the current NMEA standard. [This is confusing to me.]

The RMC field for course is indeed supposed to be course over ground but in the sources it is called "TrackMadeGoodDegreesTrue". [So you agree here.]
TDan first statement:

Quote:
So I had a little free time to look at the RMB velocity question. For sure O uses SOG in the RMB velocity field. [OK]

I also note that O sends COG in the RMC field intended for Track Made Good Degrees. [Yes, true I believe. here]

I suspect that there is no good reason for either of these. It's a simple matter to correct. I will create a PR and see what the main development team thinks [
I think Pavel would say no need to do anything
Best

Smile
rgleason is offline   Reply With Quote
Old 28-02-2019, 06:53   #2324
Registered User

Join Date: Feb 2019
Location: Cartagena, Spain
Boat: Furia 372 - 11.20m
Posts: 348
Re: Beta Test / Technical

Quote:
Originally Posted by rgleason View Post
Pavel would say no need to do anything
Best

Smile
:silbido:

I think your conclusions are correct.
RMC in a sentence created only by the GPS (Or position system) based on the data received only by the receiver. There is no waypoint or route information. COG and SOG should appear here.
RMB in a navigation sentence that combines GPS information with the coordinates of the Waypoint. The data it contains are the result of these calculations on the line that joins the position of the ship and the Waypoint. VMG is the right thing to do. VMG = SOG * cos (COG - BRG). It does not make sense to put the SOG in its place.
Tehani is offline   Reply With Quote
Old 28-02-2019, 15:24   #2325
Registered User

Join Date: Mar 2011
Posts: 651
Re: Beta Test / Technical

Porting TwoCan plugin to Linux to support SocketCAN interface.


wxWidgets version is 3.0.4


g++ version is (Raspbian 6.3.0-18+rpi1+deb9u1) 6.3.0 20170516



Following error when compiling:
Quote:
[ 42%] Building CXX object CMakeFiles/twocan_pi.dir/src/twocanplugin.cpp.o
In file included from /home/pi/twocan/twocanplugin/inc/twocanplugin.h:40:0,
from /home/pi/twocan/twocanplugin/src/twocanplugin.cpp:33:
/home/pi/twocan/twocanplugin/inc/ocpn_plugin.h:438:43: error: ‘wxGLContext’ has not been declared
virtual bool RenderGLOverlay(wxGLContext *pcontext, PlugIn_ViewPort *vp);

Some searches have suggested either missing #include <wx/glcanvas.h> which indeed is present in ospn_plugin.h or compiling against wxWidgets 3.1.x, however I recall when originally developing my Windows version being advised to compile against 3.0.x.


Thoughts ?
stevead 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
Beta Marine Diesel michaelmrc Engines and Propulsion Systems 48 23-03-2016 13:44
Need some technical advice....antennas. Just a Tinch Marine Electronics 15 01-12-2007 15:57
Blue Sea Systems Technical Brief GordMay Electrical: Batteries, Generators & Solar 0 16-03-2007 04:16
technical difficulties witchcraft The Sailor's Confessional 1 30-05-2005 14:09
Dow Corning Technical Manual GordMay The Library 0 12-04-2005 16:25

Advertise Here


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


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.