Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-03-2013, 11:37   #1
Registered User

Join Date: Mar 2011
Posts: 39
Add some information in AIS window

Hello,

How could I add some information in AIS window. Let's say press right mouse button and choose data type.
So which file is responsible for showing AIS data? and which file is responsible for right button of mouse?

Thank's for information
__________________

__________________
useris is offline   Reply With Quote
Old 11-03-2013, 12:12   #2
Registered User

Join Date: Mar 2011
Posts: 39
Re: Add some information in AIS window

Or do this by plugin?
__________________

__________________
useris is offline   Reply With Quote
Old 11-03-2013, 13:14   #3
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,967
Re: Add some information in AIS window

Useris..
I don't know much about program files but what info and what "AIS window" do you mean? AIS info is shown in OCPN's normal canvas using NMEA data coming from some connection.
Please read the excellent manual packed in the program or: AIS | Official OpenCPN Homepage or the section about data forwarding inside the program: Data Connections | Official OpenCPN Homepage.

Håkan
__________________
Hakan is offline   Reply With Quote
Old 11-03-2013, 14:22   #4
Registered User

Join Date: Mar 2011
Posts: 39
Re: Add some information in AIS window

Useris..
I don't know much about program files but what info and what "AIS window" do you mean? AIS info is shown in OCPN's normal canvas using NMEA data coming from some connection.

I want add extra information in AIS info canvas .... like friend, unknown and more like this ...
__________________
useris is offline   Reply With Quote
Old 11-03-2013, 14:54   #5
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,967
Re: Add some information in AIS window

Useris..
Ok, I see. There has been some discussions about buddy list and similar in earlier threads here. It may be that a search for "buddy" in this forum, opencpn, can view some information. And if I don't miss reminds there is already a future request for such a buddy list for next program version. The technic here for the future is to discuss in the sticky thread for that topic or add to what's called flyspray: OpenCPN::Tracker All Projects: Tasklist.
I see you are a new member as my self since half a year. OCPN is an amazing program as this forum as well. The coders are voluntary but so knowledgeable and helpful and forum members are discussing future and new features in a very friendly way.

So, here you can just explain your detailed ideas for the forum and if found usable and programmable it will for sure pop up in next beta.

Håkan
__________________
Hakan is offline   Reply With Quote
Old 13-03-2013, 01:25   #6
Registered User

Join Date: Mar 2011
Posts: 39
Add some information in AIS window

Maybe there is some more information about opencpn c++ function (API), I could try to do it by myself
__________________
useris is offline   Reply With Quote
Old 13-03-2013, 01:43   #7
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,967
Re: Add some information in AIS window

useris..
That sound really great. If you for example aims for a buddy list that could be a appreciated function not less to be able to exclude some AIS targets from CPA warnings.
I'm sure you read the developers manual? If not there is a nice description how to catch the actual code using Git. And also how to adapt plugins.
Håkan
__________________
Hakan is offline   Reply With Quote
Old 13-03-2013, 02:23   #8
Registered User

Join Date: Mar 2011
Posts: 39
Add some information in AIS window

Yes, I read Developer's Guide but most information is about Compiling, but I need information about structure and functions
__________________
useris is offline   Reply With Quote
Old 13-03-2013, 07:20   #9
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,967
Re: Add some information in AIS window

Ok, then I think we more or less are on same level. For that I think we have to trust Dave, Pavel or some else coder to join this thread.
__________________
Hakan is offline   Reply With Quote
Old 13-03-2013, 07:38   #10
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: Add some information in AIS window

useris...
I'm afraid that until you actually start looking at the code, get at least a little bit familiar with it and come with a more concrete questions (or did you already do it and really can't find where the stuff you are asking above is done?), there's not much to tell... If you don't want to read the code directly (why?), run doxygen on it to get a html view where you can click your mouse.

Pavel
__________________
nohal is online now   Reply With Quote
Old 13-03-2013, 08:12   #11
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,355
Re: Add some information in AIS window

Interesting tool Doxygen: Main Page
'You can configure doxygen to extract the code structure from undocumented source files. This is very useful to quickly find your way in large source distributions. Doxygen can also visualize the relations between the various elements by means of include dependency graphs, inheritance diagrams, and collaboration diagrams, which are all generated automatically.'
__________________
rgleason is online now   Reply With Quote
Old 13-03-2013, 09:25   #12
Registered User

Join Date: Mar 2011
Posts: 39
Re: Add some information in AIS window

I just search for function AISTargetListDialog:: TargetQuery which is in ais.cpp which call ShowAISTargetQueryDialog function in chcanv.cpp. I think I found maybe not
__________________

__________________
useris is offline   Reply With Quote
Reply

Tags
ais

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




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 19:08.


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.