Cruisers Forum

Join CruisersForum Today

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

Join Date: Dec 2009
Posts: 51
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: 3,883
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
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

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

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-2015 Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 14:59.

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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.