Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 17-11-2017, 13:15   #1
Registered User
 
rooiedirk's Avatar

Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 411
PI programming active waypoint

While programming a new plugin (Compass deviation), I try to find a way to get the course to the active waypoint. Checking the ocpn_plugin.h file I don't see a function to do this. Am I overseeing something??
Dirk
__________________

__________________
Navigation is know where you are and what to do to get where you want.
But also: Know where you don't want to be and what to do to don't get there.
rooiedirk is offline   Reply With Quote
Old 20-11-2017, 07:38   #2
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 13,510
Re: PI programming active waypoint

Rooiedirk, Now would be a good time to contact jongough (maybe pm him) and to look at the ocpn_draw.api. Jon has added messaging necessary for ocpn_draw to work with watchdog and weather_routing which requires change to the opencpn.lib.

It looks like your request might fall into that category. You could also ask pavel or bdbcat about this.
__________________

rgleason is online now   Reply With Quote
Old 20-11-2017, 07:41   #3
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 13,510
Re: PI programming active waypoint

Ocpn odapi. https://opencpn.org/wiki/dokuwiki/do...cpn_draw_odapi
rgleason is online now   Reply With Quote
Old 20-11-2017, 08:53   #4
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 5,653
Re: PI programming active waypoint

Dirk...

You are correct. There is no way in the released Plugin API to detect the currently active waypoint.

I can add this to the API update now under development. But of course, this means that your plugin will not be useful until we release an update to O48.

Comments?

Dave
bdbcat is online now   Reply With Quote
Reply

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
Icom 710RT Cloning / Programming Software jlw Marine Electronics 51 01-06-2014 17:01
Programming the IC-M700Pro nv5l Marine Electronics 7 04-01-2011 09:11
SEA225 Programming donf Marine Electronics 3 20-08-2010 23:04
Programming Max Charge stuffinbox Electrical: Batteries, Generators & Solar 1 22-06-2009 16:32

Advertise Here


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


Google+
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.