Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-11-2015, 22:31   #1
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: Masachusetts
Boat: bristol 27
Posts: 2,803
high traffic AIS logs

I have been informed that on very slow computers, opencpn becomes unresponsive rendering hundreds of AIS targets. I was hoping someone could post a log with lots of vessels (preferably more than 100) all moving at the same time so that I can investigate it.

From looking at the code, the ais rendering is no where near efficient for calculations or opengl, so I know I can do much better but I need to profile to under realistic conditions.
__________________

__________________
boat_alexandra is offline   Reply With Quote
Old 11-11-2015, 00:18   #2
Registered User
 
Muckle Flugga's Avatar

Join Date: Apr 2008
Location: Aboard the Ocean wave
Boat: 55' sloop.
Posts: 1,426
Re: high traffic AIS logs

Quote:
Originally Posted by boat_alexandra View Post
I have been informed that on very slow computers, opencpn becomes unresponsive rendering hundreds of AIS targets. I was hoping someone could post a log with lots of vessels (preferably more than 100) all moving at the same time so that I can investigate it.

From looking at the code, the ais rendering is no where near efficient for calculations or opengl, so I know I can do much better but I need to profile to under realistic conditions.
Only obliquely related and you are more of a computer techie than I, but some dedicated sets also have issues. Vesper Marine's Watchmate engine craps out at around 200 targets, which renders it close to useless in areas like the Singapore Straits. Perhaps a similar issue for opencpn.
__________________

__________________
‘Structural engineering is the art of modeling materials we do not wholly understand into shapes we cannot precisely analyse as to withstand forces we cannot properly assess in such a way that the public at large has no reason to suspect the extent of our ignorance.’
Muckle Flugga is offline   Reply With Quote
Old 11-11-2015, 01:16   #3
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,356
Re: high traffic AIS logs

Sean
I've been trying to save many of the nmea files uploaded and some others. Not sure if any have that great a density, but they are in opencpn beta file thing rguser rgpass under nmea.
If anyone has such a file I can tell them how to upload it.
__________________
rgleason is offline   Reply With Quote
Old 11-11-2015, 23:54   #4
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,967
Re: high traffic AIS logs

Sean..
re: "I was hoping someone could post a log with lots of vessels (preferably more than 100) all moving at the same time so that I can investigate it"

Could you use a VDR file where nav data is from a network VDR replay and AIS targets from Marinetraffic? The AIS target are some 3-500 but all are of course not moving the at the same time.
If this double simulation could do it's here: https://dl.dropboxusercontent.com/u/5209364/AIS_test

Håkan
__________________
Hakan is online now   Reply With Quote
Old 12-11-2015, 01:24   #5
Registered User

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 3,537
Re: high traffic AIS logs

Quote:
Originally Posted by Hakan View Post
Sean..
re: "I was hoping someone could post a log with lots of vessels (preferably more than 100) all moving at the same time so that I can investigate it"

Could you use a VDR file where nav data is from a network VDR replay and AIS targets from Marinetraffic? The AIS target are some 3-500 but all are of course not moving the at the same time.
If this double simulation could do it's here: https://dl.dropboxusercontent.com/u/5209364/AIS_test

Håkan
How did you get the data out of marine traffic?

Very slight drift, but a couple of nights ago I was playing around with an arduino pretending to be a GPS. Making AIS sentences looks like some bit bashing beyond my meager skills but I might try outputting that data and see what happens to O.

Ta

__________________
conachair is online now   Reply With Quote
Old 12-11-2015, 01:51   #6
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,967
Re: high traffic AIS logs

Ta..
re: How did you get the data out of marine traffic?
The VDR plugin can record whatever comes in to O. My sources was:
- A VDR replay of nav-data in a portable instance of O out to the local net as UDP.
- Marinetraffic data from a TCP IP on the net.

Is this an answer for your Q or did I misunderstood?

Håkan
__________________
Hakan is online now   Reply With Quote
Old 12-11-2015, 02:25   #7
Registered User

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 3,537
Re: high traffic AIS logs

Quote:
Originally Posted by Hakan View Post
Ta..
re: How did you get the data out of marine traffic?
The VDR plugin can record whatever comes in to O. My sources was:
- A VDR replay of nav-data in a portable instance of O out to the local net as UDP.
- Marinetraffic data from a TCP IP on the net.

Is this an answer for your Q or did I misunderstood?

Håkan
Answers it perfectly thanks. I wasn't aware you could get marine traffic data direct from a TCP IP online, can anyone do that or is it subscription?
__________________
conachair is online now   Reply With Quote
Old 13-11-2015, 01:44   #8
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,967
Re: high traffic AIS logs

cona...
Read more here for details:
AIS Boat Names on Android

Håkan
__________________
Hakan is online now   Reply With Quote
Old 14-11-2015, 09:32   #9
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: out cruising again
Boat: Sailboat
Posts: 1,046
Re: high traffic AIS logs

Quote:
Originally Posted by boat_alexandra View Post
I have been informed that on very slow computers, opencpn becomes unresponsive rendering hundreds of AIS targets. I was hoping someone could post a log with lots of vessels (preferably more than 100) all moving at the same time so that I can investigate it.

From looking at the code, the ais rendering is no where near efficient for calculations or opengl, so I know I can do much better but I need to profile to under realistic conditions.
Sean

in case you have internet in R-Bay, try an internet AIS feed. I searched all morning for a working one, but only found this one, needs 'phantomjs' to scrape a webpage from SCOOS.org:

AIS from the internet

I currently see ~400 targets via this feed.

Dirk
__________________

__________________
LeaseOnLife is offline   Reply With Quote
Reply

Tags
ais, logs

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
Marine Traffic AIS targets via API Key sinbad8 OpenCPN 12 05-07-2015 15:03
AIS on OpenCPN via Marine Traffic Internet v10builder1 OpenCPN 8 13-05-2015 06:07
AIS Vessel and Air Traffic from Spain sinbad7 OpenCPN 2 06-04-2010 14:51
Confined waters, cumulonimbus and traffic Mark Overbury Seamanship & Boat Handling 9 17-09-2008 12:15
Parties, traffic chaos for QM2 & QE2 knottybuoyz Cruising News & Events 4 13-03-2007 02:09



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 02:54.


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.