Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 10-11-2015, 21:31   #1
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
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.
seandepagnier is offline   Reply With Quote
Old 10-11-2015, 23: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, 00:16   #3
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,620
Images: 2
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, 22:54   #4
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,139
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 offline   Reply With Quote
Old 12-11-2015, 00:24   #5
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
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 offline   Reply With Quote
Old 12-11-2015, 00:51   #6
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,139
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 offline   Reply With Quote
Old 12-11-2015, 01:25   #7
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
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 offline   Reply With Quote
Old 13-11-2015, 00:44   #8
Registered User

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

cona...
Read more here for details:
http://www.cruisersforum.com/forums/...ml#post1941923

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

Join Date: Apr 2008
Location: out cruising again, currently in Fiji
Boat: Sailboat
Posts: 1,466
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:

http://www.cruisersforum.com/forums/...et-150678.html

I currently see ~400 targets via this feed.

Dirk
LeaseOnLife is offline   Reply With Quote
Reply

Tags
ais, logs

Thread Tools Search this Thread
Search this Thread:

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

Advertise Here
  Recent Discussions
  Vendor Spotlight


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


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.