Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-03-2017, 03:08   #1186
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,015
Re: Help / FAQ

Stn92 Study the Dev manual. Look at Mike R. Learning pages playdo.
__________________

__________________
rgleason is offline   Reply With Quote
Old 11-03-2017, 01:22   #1187
Registered User

Join Date: Feb 2017
Posts: 15
Re: Help / FAQ

Quote:
Originally Posted by rgleason View Post
Stn92 Study the Dev manual. Look at Mike R. Learning pages playdo.
Thank`s. I alredy figured out how to draw scaled icon, but it static and not depends of real ship position and rotation. How can I get the location and rotation data from openCPN API and bind the icon to the position of the ship?
__________________

__________________
stn92 is offline   Reply With Quote
Old 11-03-2017, 03:10   #1188
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,945
Re: Help / FAQ

stn92...
Please look at https://github.com/OpenCPN/OpenCPN/b.../ocpn_plugin.h and/or pretty much any of the existing plugins.
You likely want to use SetPositionFixEx to make your work trivial.
Just out of curiosity - what is this plugin good for (except passing your exam of course)?

Pavel
__________________
nohal is offline   Reply With Quote
Old 11-03-2017, 03:32   #1189
Registered User

Join Date: Feb 2017
Posts: 15
Re: Help / FAQ

Quote:
Originally Posted by nohal View Post
stn92...
Please look at
Just out of curiosity - what is this plugin good for (except passing your exam of course)?

Pavel
This plugin is part of automatic mooring systems. The more accurate the better.

Sorry for so many questions.
__________________

__________________
stn92 is offline   Reply With Quote
Reply

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



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

All times are GMT -7. The time now is 15:48.


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.