Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 23-04-2012, 11:55   #826
Registered User

Join Date: Apr 2012
Location: New Hampshire
Posts: 12
Re: Beta Test / Technical

Hello all,

I'm a computer scientist working at the University of New Hampshire's Center for Coastal and Ocean Mapping. I recently got involved with NOAA's effort to send real time data via AIS binary messages and was looking for a way to display such messages on my Linux workstation.

Now, I'm not aware of any product, commercial or open, (Other than the specialty Whale Alert app for iPads/iPhones) that can display the messages I'm working with (IMO Circ 289) so I started adding support for them in OpenCPN.

I submitted a patch to the tracker under issue #382 where I implemented support for the messages currently being broadcast from Cape Cod, Massachusetts.
FS#382 : IMO Circ 289 AIS Binary Messages and TCP/IP support

As more message types get added for real time tide and currents, I would love to add support for those as well. So, is this the best place to discuss development?

Oh, and the above patch also contains a fix for a potential buffer overrun in the GetStr method that did cause the application to crash from an AIS message unrelated to what I was working on that was received from a live feed. (Moral of the story, don't expect all AIS messages to be well-formed!)

So, what kind of release schedule is used? I noticed a thread for a recent beta, how can I have my patch added if it's not too late to do so for next release? Otherwise, when roughly could I expect the following release?

Anyway, I hope I can make useful contributions to this great product and would welcome any feedback on the above patch, or any idea to make electronic charts more useful.

Roland
__________________

__________________
rolker is offline   Reply With Quote
Old 23-04-2012, 13:49   #827
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,494
Re: Beta Test / Technical

Roland...

Good timing. I'll take a look at your patch, and potentially get it into the next Beta release due this week.

Stay tuned
Dave
__________________

__________________
bdbcat is offline   Reply With Quote
Old 24-04-2012, 07:42   #828
Registered User

Join Date: Feb 2011
Posts: 377
Re: Beta Test / Technical

The use of this is already done for the pilots in the St-Lawrence and Seaway and it is very much appreciated. Such a system require an interface easy to use for the common seaman and should not be complicated to use. For instance in the Seaway it give the wind force and direction and also ships up or down and the availablity of the lock involve.
Bye
P_Dub
__________________
P_Dub is offline   Reply With Quote
Old 24-04-2012, 09:35   #829
Registered User

Join Date: Apr 2012
Location: New Hampshire
Posts: 12
Re: Beta Test / Technical

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

Good timing. I'll take a look at your patch, and potentially get it into the next Beta release due this week.

Stay tuned
Dave
Thanks Dave,

The patch is more of a proof of concept for the moment, I still need to make the notices disappear once they expired, which I should have done shortly.

Other issues where I could use more input from the community is how to display the details of the notice. I'm still new to the code base, but I'll look into the object query code to see if it makes sense to incorporate it in there.

Also, I decided to closely follow how the existing AIS code works, despite thinking that binary messages should probably be separated from AIS targets. I did this to keep my first patch smaller and minimize changes to the existing code base, but I could see a separate .cpp file in the future for handling binary messages as this code could grow quite a bit as more messages are added.

Now, before I add support for more message type, I'll take a look at how the existing tides and currents code work and see how well AIS data could blend into the existing capabilities.

Quote:
Originally Posted by P_Dub View Post
The use of this is already done for the pilots in the St-Lawrence and Seaway and it is very much appreciated. Such a system require an interface easy to use for the common seaman and should not be complicated to use. For instance in the Seaway it give the wind force and direction and also ships up or down and the availablity of the lock involve.
Bye
P_Dub
Yes, you're right, the St-Lawrence Seaways folks are pioneers in using AIS binary messages, so it would make sense to support those messages as well. I haven't seen how the St-Lawrence data is conveyed to the mariner. Is it only using custom systems the pilots bring on board, or do existing charting software support them?

The primary reason I started with the area notices as described in IMO Circ. 289 is so I would have somewhere other than an iPad where I could see the results of the Right Whale notices currently being sent out. Of course, I would like to see all existing (non-encrypted) binary messages supported, so I hope I can help develop the right infrastructure withing opencpn to support the decoding of such messages, and help provide a way to convey the necessary info to the mariner in a way that simplifies the display rather than making it more cluttered or complicated.
__________________
rolker is offline   Reply With Quote
Old 24-04-2012, 11:09   #830
Registered User

Join Date: Feb 2011
Posts: 377
Re: Beta Test / Technical

It is done via the AIS message received via the pilot plug connection on the chart program of NAVSIM that we have help and experiment. I am one of those that did it.
If you need to get the transmission code I could probably get it.
Bye
P_Dub
__________________
P_Dub is offline   Reply With Quote
Old 01-05-2012, 09:49   #831
Registered User
 
petermoree's Avatar

Join Date: Apr 2010
Location: Netherlands
Boat: TINTEL (36ft Hoek design) see http://www.moree.nl/tintel
Posts: 126
crash report 2.6 Beta Build 1624

Used the beta on board today.

Run under windows XP SP3
It crashed several times (a lot quicker when AIS button was set to ON)

see enclosed screenshots for details
Attached Thumbnails
Click image for larger version

Name:	DSC01336.JPG
Views:	175
Size:	188.8 KB
ID:	40597   Click image for larger version

Name:	DSC01337.JPG
Views:	147
Size:	258.7 KB
ID:	40598  

__________________
petermoree is offline   Reply With Quote
Old 01-05-2012, 11:55   #832
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,494
Re: Beta Test / Technical

Peter....

Beta 2.6.1624 has a known crash problem with AIS.

New Beta due soon.

Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 08-05-2012, 09:09   #833
Registered User
 
svpresent's Avatar

Join Date: Nov 2008
Location: At the moment in the Spanish Ria's
Boat: Reinke, 15m, Present
Posts: 105
OpenCPN freezes at random

I use a VIA computer, not the state of the art but fanless and economical on power. It's running XP3 SP3. OpenCPN has been on this computer for several versions now.
There is this problem of freezing after a few minutes with no apparent proof like a hourglass. I detect it when there is no more fluctuation in speed or course.
I need to move the map a little by mouse and then the hourglass appears en after say 20-30 seconds everything is back to normal.

Am I the only one with this problem?
Is there a way I can find out what actually happens when it freezes?
I can add that OpenCPN is the only program that shows this behaviour.

Many thanks in advance.
Cheers, Len.
__________________
svpresent is offline   Reply With Quote
Old 27-05-2012, 03:10   #834
Registered User

Join Date: May 2012
Posts: 26
Re: Beta Test / Technical

Hi
($csymb) $code iq1302.2 is displayed as a question mark in 2.6.1623. It should be shown as a arrow and whit a angel following the farway(?).
Pleas se attached image. Have red marked the use of the 130.2 symbol.
Attached Thumbnails
Click image for larger version

Name:	iq130_2.jpg
Views:	124
Size:	205.4 KB
ID:	41539  
__________________
stedy is offline   Reply With Quote
Old 27-05-2012, 05:17   #835
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
Re: Beta Test / Technical

Quote:
Originally Posted by stedy View Post
Hi
($csymb) $code iq1302.2 is displayed as a question mark in 2.6.1623. It should be shown as a arrow and whit a angel following the farway(?).
Pleas se attached image. Have red marked the use of the 130.2 symbol.
It has always been. The problem is that the chart database does not contain an ORIENT attribute for the symbol,so we don't know how to point it. And there is no point in drawing it pointing north always.
/j
__________________
JesperWe is offline   Reply With Quote
Old 31-05-2012, 01:39   #836
Registered User

Join Date: Mar 2010
Location: Seattle
Boat: Camper & Nicholsons 38
Posts: 33
Re: Beta Test / Technical

Hi,

I'm using build 1624 and want to report an "error" I have seen in OpenCPN for the last few versions (I first noticed it last summer). I'm using a GPS mouse via a serial port (with USB/RS232). I have not reproduced this on another GPS, so it is possible this is a problem with my GPS.

Occasionally (approx once per one or two hours) the GPS will send an invalid latitude or invalid longitude reading of zero for the value. This can be either Lat or Long or both. The GPS sentence is well formed (I've seen it in the log) but simply has zeros for the data.

OpenCPN will parse this and show the boat as being at the equator for just one second (with correspondingly high SOG! :-).

Normally, this is of no consequence - however, with an anchor watch set, this causes the alarm to sound for just one second, roughly every hour or two. This makes it hard to sleep!

I'd like to request/suggest that the code have some logic added to reject spurious data. A simple test for zero data that also has abnormally large SOG would probably suffice. Even though this may be an issue with my GPS mouse, it makes sense to have some logic that rejects obviously spurious data.

Less useful would be a change to the anchor watch logic to wait a few seconds before setting the alarm in case of a bad data point.

Thanks for an amazing product, that I use regularly.

Van
__________________
afmstm is offline   Reply With Quote
Old 01-06-2012, 04:28   #837
Registered User

Join Date: Jan 2011
Location: Martigues, FRANCE
Boat: GibSea 28Q
Posts: 40
need or not need Libgps20

Hello,

I saw that last beta version need Libgps20 unstead 19 to be compile.

I want to compile beta version for ubuntu 10.04.

The problem is that I didn't found any version of Libgps20 for 10.04...

So is there a way, or (I am a little confuse), like I saw in a post, it's finaly possible to compile with version Libgps19 ?

Best Regards

Emmanuel
__________________
manuprenlair is offline   Reply With Quote
Old 01-06-2012, 06:52   #838
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,905
Re: Beta Test / Technical

Emmanuel...
Yes, it's possible to compile against libgps19 and nobody reported problems with it - the problems come when a package built against libgps19 is used on a system with libgps20 and vice versa as far as I can tell.

Pavel
__________________
nohal is online now   Reply With Quote
Old 01-06-2012, 07:01   #839
Registered User

Join Date: Nov 2010
Location: San Francisco Bay
Boat: Hunter Legend 40
Posts: 291
Re: Beta Test / Technical

Quote:
Originally Posted by nohal View Post
Emmanuel...
Yes, it's possible to compile against libgps19 and nobody reported problems with it - the problems come when a package built against libgps19 is used on a system with libgps20 and vice versa as far as I can tell.

Pavel
Pavel, I'm using the new version and am getting BSOD. It's happened to me twice. No special use, no active routes, I have GPS on com4, and a grib file active this time. Not sure last time. Just in it looking around. Not out sailing. sittin in a slip. I use W7 HP SP1 on a Samsung R540 laptop.
__________________
Gary

I'm wet nurse to a last place dead to the neck up ball club and I'm choking to death.
gpshephe is offline   Reply With Quote
Old 01-06-2012, 07:18   #840
Registered User

Join Date: Jan 2011
Location: Martigues, FRANCE
Boat: GibSea 28Q
Posts: 40
Re: Beta Test / Technical

Pavel,

Sorry for my misunderstanding.
It came from developer manual from OpenCPN.org
in Linux compile you could read:

"Important Notice, valid from beta 2.6.1718!

Developers note: libgps API changed significantly between libgps19 and ..20. We require the libgps20 API and include files to build OpenCPN, and a "version skew" warning will be produced if they are not found. The libgps interface will not function correctly if OpenCPN is built with libgps19 include files."

Regards

Emmanuel
__________________

__________________
manuprenlair is offline   Reply With Quote
Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Beta Marine Diesel michaelmrc Engines and Propulsion Systems 48 23-03-2016 14:44
Need some technical advice....antennas. Just a Tinch Marine Electronics 15 01-12-2007 16:57
Blue Sea Systems Technical Brief GordMay Electrical: Batteries, Generators & Solar 0 16-03-2007 05:16
technical difficulties witchcraft The Sailor's Confessional 1 30-05-2005 15:09
Dow Corning Technical Manual GordMay The Library 0 12-04-2005 17:25


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 12:20.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.