 |
|
30-04-2012, 08:00
|
#76
|
|
Registered User
Join Date: Dec 2005
Posts: 2,373
|
Re: OpenCPN Version 2.6 Beta Build 1624
Quote:
Originally Posted by bdbcat
Thomas...
Are you still having trouble with user tide harmonics?
Dave
|
Dave
Yes, still the same.
Setup

Each directory contains the files HARMONIC and HARMONIC.IDX
OpenCPN_Conf is a link to ~.opencp.
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
__________________
|
|
|
30-04-2012, 11:19
|
#77
|
|
Senior Cruiser

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
__________________
|
|
|
30-04-2012, 11:48
|
#78
|
|
Registered User
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
__________________
|
|
|
30-04-2012, 13:42
|
#79
|
|
Registered User
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
__________________
|
|
|
30-04-2012, 14:50
|
#80
|
|
Senior Cruiser

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
__________________
|
|
|
30-04-2012, 17:22
|
#81
|
|
Senior Cruiser

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
__________________
|
|
|
02-05-2012, 08:58
|
#82
|
|
Registered User
Join Date: Dec 2005
Posts: 2,373
|
Re: OpenCPN Version 2.6 Beta Build 1624
Quote:
Originally Posted by bdbcat
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
__________________
|
|
|
02-05-2012, 16:26
|
#83
|
|
Senior Cruiser

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
__________________
|
|
|
03-05-2012, 09:09
|
#84
|
|
Registered User
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
__________________
|
|
|
03-05-2012, 09:13
|
#85
|
|
Senior Cruiser

Join Date: Mar 2008
Posts: 2,288
|
Re: OpenCPN Version 2.6 Beta Build 1624
Thomas....
Very strange.
Anyone else try this?
Dave
__________________
|
|
|
03-05-2012, 09:26
|
#86
|
|
Registered User
Join Date: Dec 2005
Posts: 2,373
|
Re: OpenCPN Version 2.6 Beta Build 1624
Quote:
Originally Posted by bdbcat
Thomas....
Very strange.
Anyone else try this?
Dave
|
Dave
Recompiling VDR!
Back soon!
PS Same result unfortunately!
Thomas
Thomas
__________________
|
|
|
03-05-2012, 09:32
|
#87
|
|
Senior Cruiser

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
__________________
|
|
|
03-05-2012, 09:44
|
#88
|
|
Registered User
Join Date: Dec 2005
Posts: 2,373
|
Re: OpenCPN Version 2.6 Beta Build 1624
Quote:
Originally Posted by bdbcat
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
__________________
|
|
|
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
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
__________________
|
|
|
03-05-2012, 09:53
|
#90
|
|
Senior Cruiser

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
__________________
|
|
|
 |
|
| Thread Tools |
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|