Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 30-04-2012, 09:00   #76
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: OpenCPN Version 2.6 Beta Build 1624

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

Are you still having trouble with user tide harmonics?

Dave
Dave

Yes, still the same.
Setup
Click image for larger version

Name:	tc.png
Views:	62
Size:	15.7 KB
ID:	40562
Each directory contains the files HARMONIC and HARMONIC.IDX
OpenCPN_Conf is a link to ~.opencp.

Name:   tc1.png
Views: 276
Size:  5.0 KB

I get this line in the log
Quote:
16:50:41 CEST: Chart1::Event...TCMgr Not Available
Only the default dataset displays tidal stations.

Thomas
__________________

__________________
cagney is offline   Reply With Quote
Old 30-04-2012, 12:19   #77
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,880
Re: OpenCPN Version 2.6 Beta Build 1624

Thomas....

UserTCData:

A small bug crept in.

You may make this small change to continue testing.

chart1.cpp, around line 8929

old code:
Code:
 TCDir.Append( _T("UserTCData") ).Append( sep ).Append(g_TCdataset).Append( sep );
new code:
Code:
 TCDir.Append( sep ).Append( _T("UserTCData") ).Append( sep ).Append(g_TCdataset).Append( sep );
note the added ".Append( sep )"

Carry On!
Dave
__________________

__________________
bdbcat is offline   Reply With Quote
Old 30-04-2012, 12:48   #78
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: OpenCPN Version 2.6 Beta Build 1624

Dave

OK now, thank you!

Is it possible to have a log-message, stating if the "Default dataset" is loaded, or some "alien" set is used? I can see a support nightmare looming on the horizon, with all the crap in the alternative data sets.

There is much more to say about Tides, but that can wait until 2.8 beta....

Thomas
__________________
cagney is offline   Reply With Quote
Old 30-04-2012, 14:42   #79
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: OpenCPN Version 2.6 Beta Build 1624

Dave
Quote:
209. Implement AIS capture of IMO Circ 289 Area Notices (DAC 1 FI 22)(FS#382) Thanks Roland
Are we supposed to see anything yet? I tried a few sentences in the documentation with the VDR, but nada....

Thomas
__________________
cagney is offline   Reply With Quote
Old 30-04-2012, 15:50   #80
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,880
Re: OpenCPN Version 2.6 Beta Build 1624

Thomas.....

Try this data in VDR
http://vislab-ccom.unh.edu/ais/notices.aivdm

This is the data currently being transmitted from Cape Cod, MA. The file is updated hourly, I think.

Anyone in range of Cape Cod AIS stations who could test this in real life?

Dave
__________________
bdbcat is offline   Reply With Quote
Old 30-04-2012, 18:22   #81
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,880
Re: OpenCPN Version 2.6 Beta Build 1624

Thomas...

Code:
Is it possible to have a log-message, stating if the  "Default dataset"  is loaded, or some "alien" set is used? I can see a support nightmare  looming on the horizon, with all the crap  in the alternative data sets.
Good idea. Done for next Beta.

Dave
__________________
bdbcat is offline   Reply With Quote
Old 02-05-2012, 09:58   #82
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: OpenCPN Version 2.6 Beta Build 1624

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

Try this data in VDR
http://vislab-ccom.unh.edu/ais/notices.aivdm

This is the data currently being transmitted from Cape Cod, MA. The file is updated hourly, I think.

Anyone in range of Cape Cod AIS stations who could test this in real life?

Dave
Dave
I have tried for a while, using the VDR with multiple versions of the files. Nothing at all, displays on the screen.
Thomas
__________________
cagney is offline   Reply With Quote
Old 02-05-2012, 17:26   #83
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,880
Re: OpenCPN Version 2.6 Beta Build 1624

Thomas....

Hmmmmm....

Try this data:

Code:
!AIVDM,2,1,1,A,803Ovrh0EPD0aRLp7Ph=ud7Q<h9T00000TFMmP1JL>G,0*32
!AIVDM,2,2,1,A,7J005>?11PBGP4=1PPP,0*33
!AIVDM,2,1,3,A,803Ovrh0EPM0aRLpJBP=uTHQ;>JT00000TFMd01Ld>F,0*45
!AIVDM,2,2,3,A,SJ005>?11PBGP4=1PPP,0*55
!AIVDM,1,1,,A,81mg=5@0EP909RLp02PMwvgi=<;T>N000,0*28
!AIVDM,1,1,,A,81mg=5@0EP809RLp02PMwpga=Dnd>N000,0*3A
!AIVDM,1,1,,A,81mg=5@0EP70aRLp0lpMwi69=MDT>N000,0*10
!AIVDM,1,1,,A,81mg=5@0EP609RLp02PMwW1A=NF<>N000,0*1F
!AIVDM,1,1,,A,81mg=5@0EP50aRLp0MhMwIrA=OAL>N000,0*28
!AIVDM,1,1,,A,81mg=5@0EP40aRLp0f`Mw<iA=P5d>N000,0*27
!AIVDM,1,1,,A,81mg=5@0EP30aRLp0lPMvw`Q=PsD>N000,0*2F
!AIVDM,1,1,,A,81mg=5@0EP20aRLp0epMvjOI=Qgl>N000,0*10
!AIVDM,1,1,,A,81mg=5@0EP109RLp02PMvUJ1=RTd>N000,0*46
See attached (non-OpenGL) render.

Dave
Attached Thumbnails
Click image for larger version

Name:	AreaNotice1.jpg
Views:	79
Size:	139.8 KB
ID:	40641  
__________________
bdbcat is offline   Reply With Quote
Old 03-05-2012, 10:09   #84
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: OpenCPN Version 2.6 Beta Build 1624

Dave

No luck with your data!
The data is streaming in the nmea data stream window.

Thomas
__________________
cagney is offline   Reply With Quote
Old 03-05-2012, 10:13   #85
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,880
Re: OpenCPN Version 2.6 Beta Build 1624

Thomas....

Very strange.

Anyone else try this?

Dave
__________________
bdbcat is offline   Reply With Quote
Old 03-05-2012, 10:26   #86
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: OpenCPN Version 2.6 Beta Build 1624

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

Very strange.

Anyone else try this?

Dave
Dave
Recompiling VDR!
Back soon!


PS Same result unfortunately!

Thomas
Thomas
__________________
cagney is offline   Reply With Quote
Old 03-05-2012, 10:32   #87
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,880
Re: OpenCPN Version 2.6 Beta Build 1624

Thomas....

Here is what I do for simple AIS stream tests:

1. $mkfifo /tmp/aisfifo

2. start Ocpn, set AIS data source to /tmp/aisfifo

3. $ cat {test stream} > /tmp/aisfifo

This technique takes advantage of a "backdoor" built into OCPN. See ais.cpp:3778

This eliminates the simulator variable....

Dave
__________________
bdbcat is offline   Reply With Quote
Old 03-05-2012, 10:44   #88
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: OpenCPN Version 2.6 Beta Build 1624

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

Here is what I do for simple AIS stream tests:

1. $mkfifo /tmp/aisfifo

2. start Ocpn, set AIS data source to /tmp/aisfifo

3. $ cat {test stream} > /tmp/aisfifo

This technique takes advantage of a "backdoor" built into OCPN. See ais.cpp:3778

This eliminates the simulator variable....

Dave
Dave

Tested your method. I see the sentences in the nmea datastream window. Still... nothing displays.
Thomas
__________________
cagney is offline   Reply With Quote
Old 03-05-2012, 10:51   #89
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: OpenCPN Version 2.6 Beta Build 1624

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

Very strange.

Anyone else try this?

Dave
I did try on Windows, didn't see anything and then traced it to g_bShowAreaNotices being false.
After setting bShowAreaNotices to 1 in the ini file, my screen is equal to yours...
I also noticed that the targets are not drawn until the next chart canvas refresh, so you have to pan the chart a little bit before you can see them if no other action happens.

Pavel
__________________
nohal is offline   Reply With Quote
Old 03-05-2012, 10:53   #90
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,880
Re: OpenCPN Version 2.6 Beta Build 1624

Thomas....

grrrr....

OK, some ddd stepping is called for.

Start ddd and set a breakpoint at the top of

void ChartCanvas::AISDrawAreaNotices ( ocpnDC& dc )

Step along here, and see what happens. Must be taking an early exit for some reason....

Dave
__________________

__________________
bdbcat is offline   Reply With Quote
Reply

Tags
opencpn

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 13:18.


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.