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 29-09-2020, 00:35   #1
Registered User

Join Date: Sep 2020
Posts: 7
[Plugin] How to start developping a plugin

Hello,

I am currently to develop a new plugin. The goal of this plugin is to be able to still have the boat icon moving on the map when there is no GPS, using the speed and COG user enters. The boat would move periodically according to these values and trackpoints would be added as well in another color.

I read OpenCPN's documentation about developing plugins. I also fetched the sources of OpenCPN and built it from source on Linux. I also fetched various plugins (DR_pi and watchdog_pi) and was able to modify and build from sources the watchdog_pi plugin and to see it on opencpn.

I also noticed the build process set up by jongough, which looks great regarding how plugin should be build / tested using CI and I would like to use it as part of my plugin development.

I am now trying to start my own plugin development. I fear to struggle starting from zero to reach the pointt o have a windows built, and was considering starting from the watchdog_pi I am already able to tweak. What do you think about that ? Is there somewhere a "Hello World" plugin project I should start from instead ?

Please do not hesitate to move this post if it is not in the right place, this my first post in this community.

Charles
thousand_sunny is offline   Reply With Quote
Old 29-09-2020, 04:25   #2
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: [Plugin] How to start developping a plugin

Before you invest to much time.......

Have a look at the ship driver plugin.
https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpnpencpn_user_manualluginst her:shipdriver

Thomas
cagney is offline   Reply With Quote
Old 29-09-2020, 04:35   #3
Registered User

Join Date: Sep 2020
Posts: 7
Re: [Plugin] How to start developping a plugin

Hello Cagney,

Thank you for the reply, indeed this looks really interesting as a base project for what I would like to do !
thousand_sunny is offline   Reply With Quote
Old 29-09-2020, 09:10   #4
Registered User

Join Date: May 2012
Posts: 1,221
Re: [Plugin] How to start developping a plugin

thousand_sunny...

I would leave the jongough side until you have a plugin doing what you want, compiled in the traditional fashion.

Mike
Rasbats is offline   Reply With Quote
Reply

Tags
linux, opencpn, plug, plugin


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
3ym20 Yanmar instrument panel start button won't start RKsailsolo Engines and Propulsion Systems 23 03-01-2020 17:35
Good start point to make OpenCPN plugin daniele.banfi OpenCPN 3 18-05-2019 21:45
Plugin development... How to receive chart objects in my plugin? dmartinez OpenCPN 6 04-08-2017 00:56
Google Earth plugin doesn't start Google Earth balticsailor OpenCPN 11 02-07-2015 03:07
Start Small or Start Big ? Zonker Multihull Sailboats 18 16-01-2012 11:13

Advertise Here


All times are GMT -7. The time now is 18:33.


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.