Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

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 20-12-2011, 07:30   #1
Registered User

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

Hi.

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?


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

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: Developers Discussion List, IRC etc. (AIS SART)

Simon...
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.

Pavel
nohal is offline   Reply With Quote
Reply

Tags
ais


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


All times are GMT -7. The time now is 03:13.


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.