Cruisers Forum

Join CruisersForum Today

Thread Tools Search this Thread Rate Thread Display Modes
Old 20-12-2011, 07:30   #1
Registered User

Join Date: Dec 2009
Posts: 52
Question Developers Discussion List, IRC etc. (AIS SART)


With the help of Marco, I've had a go at implementing AIS SART detection into OpenCPN.

I'm at the point where the programme detects the SART (In accordance with the AIS Specification and further work by McMurdo/Kannad), displays a target and prints the AIS SART MMSI to stdout.

The next stage is relatively straightforward - to ensure that the text displayed in the GUI makes it obvious that the target is a SART.

The bit I require some guidance on is the next stage. We'd like to implement a special target image (A red circle with a diagonal cross through it as per the spec.). It seems that we need to generate a png, then convert this to C and then call this new logo instead of the ship shaped one when a boolean is set.

Is there a discussion list where one can ask for more details?

st599 is offline   Reply With Quote
Old 20-12-2011, 08:05   #2
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 5,226
Re: Developers Discussion List, IRC etc. (AIS SART)

There's no mailing list or IRC. Dave is a full time cruiser and a lot of the time his internet connection is not what one would dream about.
Said that you just came to the best place to discuss your problems.
The AIS symbols are drawn as vector shapes (check ChartCanvas::AISDrawTarget in chcanv.cpp:5930)
The SART symbol should be quite easy to add there - probably even easier than a bitmap (Embedding PNG Images - WxWiki).
If we could see the code, it would probably be easier to discuss it.

nohal is offline   Reply With Quote


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
OpenCPN Beta Build 2.6.1215 bdbcat OpenCPN 33 20-12-2011 23:22
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 04:31
AIS Reception Issue twistedtree Marine Electronics 72 03-07-2011 03:57

Advertise Here

Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 20:11.

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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.