Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-12-2014, 19:35   #76
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,320
Re: Plugin Distribution

At the risk of being redundant. The Opencpn Development Manual has been augmented
Different Plugin API Versions | Official OpenCPN Homepage

Quote:
Plugin (pi) API Versions and OpenCPN Version Compatibility

pi18 (1.8) = OpenCPN 3.0 [Use oldest supported Opencpn 3.2.2]
pi19 (1.9) = OpenCPN 3.2 [Use oldest supported Opencpn 3.2.2]
pi19 (1.9) = OpenCPN 3.2.2 [Oldest supported version]
pi110 (1.10) = OpenCPN 3.3.x (under design and development now).
pi110 (1.10) = OpenCPN 3.4
In plugin filenames there generally be will be a designation as above (it is part of the plugin filename format).
It tells which API version it needs and, if it was built against the right codebase with which version it should run - Startup of Opencpn leaves messages in the opencpn.log regarding the status of each plugin. If the plugin is not installed because the current Opencpn version does not support it, the piXXX designation will help you decipher what the problem is and what can be done.

These files can be found
opencpnplugins - Browse /windows_opencpn_development_libraries at SourceForge.net
__________________

__________________
rgleason is offline   Reply With Quote
Old 13-12-2014, 10:17   #77
Registered User
 
Zephyr's Aura's Avatar

Join Date: Jun 2008
Location: North Carolina, USA
Boat: Dufour Arpege 30
Posts: 93
Re: Plugin Distribution

Anyone have the rtl-sdr AIS plugin installed? I tried installing it and have run into a little problem.

Let me start at the beginning.

First I installed rtl-sdr. This works fine. I have good reception on the NOAA weather broadcast.

Second I have aisdecoder installed and running. I have made a connection between the two using the following commands.

rtl_fm -f 161966899 -g 40 -s 48k -r 48k /tmp/aisdata

./aisdecoder/build/aisdecoder -h 127.0.0.1 -p 10110 -a file -c mono -d -l -f /tmp/aisdata

tmp/aisdata is a fifo

This all works but requires a lot of fiddling to fine tune the frequency.

When I found the rtl-sdr plugin I thought wow I have a simple solution but when I fire it up, I keep getting the following error:

execvp(aisdecoder, -h, 127.0.0.1, -p, 10110, -a, file, -c, mono, -d, -f, /dev/stdin) failed with error 2!

Any suggestions?
__________________

__________________
* _/)_
~~~~~~~
If you really want to do something youíll find a way. If youíre not so sure youíll find excuses.
Zephyr's Aura is offline   Reply With Quote
Old 13-12-2014, 10:21   #78
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: Plugin Distribution

Put aisdecoder executable somewhere in you PATH...

Pavel
__________________

__________________
nohal is offline   Reply With Quote
Reply

Tags
plug, rib

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCPN General bdbcat OpenCPN 987 11-11-2017 07:00
OpenCPN not recognising Virtual COM port LifePart2 OpenCPN 92 24-04-2014 11:08
OpenCPN Beta Version 3.3.814 Released bdbcat OpenCPN 64 06-10-2013 18:08
GRIB Weather Mark Ward OpenCPN 26 12-02-2012 22:33
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 05:31



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 21:42.


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.