Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Please support our sponsors and let them know you heard about them on CruisersForum.com
Old 30-04-2012, 08:00   #76
Registered User
 
cagney's Avatar

Join Date: Dec 2005
Posts: 2,373
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:	15
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: 250
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, 11:19   #77
Senior Cruiser
 
bdbcat's Avatar

Cruisers Forum Supporter

Join Date: Mar 2008
Posts: 2,288
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, 11:48   #78
Registered User
 
cagney's Avatar

Join Date: Dec 2005
Posts: 2,373
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, 13:42   #79
Registered User
 
cagney's Avatar

Join Date: Dec 2005
Posts: 2,373
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, 14:50   #80
Senior Cruiser
 
bdbcat's Avatar

Cruisers Forum Supporter

Join Date: Mar 2008
Posts: 2,288
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, 17:22   #81
Senior Cruiser
 
bdbcat's Avatar

Cruisers Forum Supporter

Join Date: Mar 2008
Posts: 2,288
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, 08:58   #82
Registered User
 
cagney's Avatar

Join Date: Dec 2005
Posts: 2,373
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, 16:26   #83
Senior Cruiser
 
bdbcat's Avatar

Cruisers Forum Supporter

Join Date: Mar 2008
Posts: 2,288
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:	27
Size:	139.8 KB
ID:	40641  
__________________
bdbcat is offline   Reply With Quote
Old 03-05-2012, 09:09   #84
Registered User
 
cagney's Avatar

Join Date: Dec 2005
Posts: 2,373
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, 09:13   #85
Senior Cruiser
 
bdbcat's Avatar

Cruisers Forum Supporter

Join Date: Mar 2008
Posts: 2,288
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, 09:26   #86
Registered User
 
cagney's Avatar

Join Date: Dec 2005
Posts: 2,373
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, 09:32   #87
Senior Cruiser
 
bdbcat's Avatar

Cruisers Forum Supporter

Join Date: Mar 2008
Posts: 2,288
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, 09:44   #88
Registered User
 
cagney's Avatar

Join Date: Dec 2005
Posts: 2,373
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, 09:51   #89
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 1,755
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, 09:53   #90
Senior Cruiser
 
bdbcat's Avatar

Cruisers Forum Supporter

Join Date: Mar 2008
Posts: 2,288
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



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

RV & Travel Trailer Communities

Our RV & Travel Trailer sites encompasses virtually all types of Recreational Vehicles, from brand-specific to general RV communities.

» More about our RV 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-2012 Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 01:47.


Social Knowledge Networks

Sailing News Delivered to your Email!

Stay up-to-date with the latest cruising news.

unsusbcribe at anytime with one click

Close [X]


ShowCase vBulletin Plugins by Drive Thru Online, Inc.