Cruisers Forum
 


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 21-08-2018, 19:21   #76
Registered User

Join Date: Jul 2017
Posts: 3
Re: VDR Plugin

Hi Seth,

Great plugin, thank you.
I would also support some of the earlier requests for the ability to jump to a particular time in the playback (I've just been manually editing the data file)

I do have a question- is there any way of increasing the playback speed beyond 100 sentences/second ? For example, if I have a 4 hour race that I want to replay much more quickly than realtime

thanks

Andrew
barney2074 is offline   Reply With Quote
Old 22-08-2018, 08:44   #77
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,631
Images: 2
Re: VDR Plugin

Hi,
It would be nice if there were unlimited time, here is a plugin that shows some promise, extending VDR with some features. It is a little rough, but it works. Wish Sethdart and Mike could get together and finish it up. Doesn't need much really.



https://opencpn.org/wiki/dokuwiki/do...lugins:vdrplus
rgleason is offline   Reply With Quote
Old 22-08-2018, 22:26   #78
Registered User

Join Date: Jul 2017
Posts: 3
Re: VDR Plugin

hi rgleason

thanks for the reply.
I have tried this and unfortunately it does not work- with my original file, it comes up with a message that big files take a log time to process- but nothing happens even after many hours.
A data file trimmed down to 1000 lines does not do anything

The old VDR plugins plays both files ok

Is there anything I can do to resolve this ?
thanks in advance

Andrew
barney2074 is offline   Reply With Quote
Old 23-08-2018, 11:41   #79
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,631
Images: 2
Re: VDR Plugin

Thats odd. I'll take a look.
rgleason is offline   Reply With Quote
Old 24-09-2018, 06:06   #80
Registered User

Join Date: Aug 2018
Posts: 3
Re: VDR Plugin

Hello,


Probably this is a foolish question, but I can't figure out how to install the vdr plugin on Ubuntu.

I installed openCPN using the following instructions:
https://opencpn.org/wiki/dokuwiki/do...ion:ubuntu_ppa


namely by typing this:
Code:
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:opencpn/opencpn
sudo apt-get update
sudo apt-get install opencpn
Then supposedly, according to the vdr plugin page https://www.opencpn.org/OpenCPN/plugins/vdr.html
I should be able to type
sudo apt-get install opencpn-plugin-vdr


But this doesn't work, it isn't found. typing "apt search opencpn" only finds me a rather short list of plugins (<10) and vdr is not among them.
hydro_explorer is offline   Reply With Quote
Old 24-09-2018, 18:55   #81
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,208
Re: VDR Plugin

I suppose you are using some recent Ubuntu release. Not all the packages are available for these yet. You have three options:
* Wait until someone has time to update the PPA (That someone will probably have to be me and it won't be very soon)
* Try to use the Xenial version of the package
* Build from source

Pavel
nohal is offline   Reply With Quote
Old 08-02-2019, 05:09   #82
Registered User

Join Date: Feb 2019
Posts: 4
Re: VDR Plugin

Hi All,

I am trying to install the VDR plugin on macOS High Sierra (10.13.6).

OpenCPN version: 4.8.8 Build 2018-11-06 (downloaded)

wxWidgets version 3.0.4 build (via brew, edited with "brew edit wxmac"):
* configure --prefix=/usr/local/Cellar/wxmac/3.0.4_1 --enable-clipboard --enable-controls --enable-dataviewctrl --enable-display --enable-dnd --enable-graphics_ctx --enable-std_string --enable-svg --enable-webkit --with-expat --with-libjpeg --with-libpng --with-libtiff --with-zlib --disable-precomp-headers --disable-monolithic --with-cxx=11 --with-macosx-version-min=10.9 --enable-unicode --with-osx_cocoa --enable-aui --with-opengl --with-subdirs

VDR version build:
* git clone https://github.com/nohal/vdr_pi.git
* cd vdr_pi
* git checkout packaging
* cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS=-stdlib=libc++ ..
* make
* packagesbuild -F /Users/jk/Development/OpenCPN/vdr_pi_package/build/ VDR.pkgproj
* open VDR-Plugin_0.4.pkg (in order to install)

After installing VDR, OpenCPN logs the following:
13:59:16 CET: Error: dlopen(/Applications/OpenCPN.app/Contents/PlugIns/libvdr_pi.dylib, 2): Symbol not found: _wxTheAssertHandler
Referenced from: /Applications/OpenCPN.app/Contents/PlugIns/libvdr_pi.dylib
Expected in: flat namespace
in /Applications/OpenCPN.app/Contents/PlugIns/libvdr_pi.dylib
13:59:16 CET: PlugInManager: Cannot load library: /Applications/OpenCPN.app/Contents/PlugIns/libvdr_pi.dylib

Thank you in advance for any help! I would really love to get this running!
Zoapone is offline   Reply With Quote
Old 08-02-2019, 07:30   #83
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: VDR Plugin

Zoapone...


Did you try to install the prebuilt package from opencpn.org?
http://opencpn.navnux.org/plugins/vd...Plugin_0.4.pkg


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 08-02-2019, 07:41   #84
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,208
Re: VDR Plugin

BTW, if you for some reason can't use the prebuilt package (In such case I would like to know why to fix it for the next release), your problem seems to be you built the plugin in Debug mode and are trying to lod it into release build of OpenCPN.
Another likely problem is you built everything with completely different set of parameters than used for the official OpenCPN builds (notably you linked everything against libc++ while OpenCPN is linked against libstdc++). I really am not joking in the build instructions so if you want to be compatible, please follow them.
nohal is offline   Reply With Quote
Old 09-02-2019, 05:38   #85
Registered User

Join Date: Feb 2019
Posts: 4
Re: VDR Plugin

@nohal:

OK, that makes sense! I rebuild wxWidgets and the plugin the following way:

wxWidgets
* git clone https://github.com/wxWidgets/wxWidgets.git
* cd wxWidgets
* git checkout v3.0.4
* mkdir build-release && cd build-release
* ../configure --with-cxx=11 --with-macosx-version-min=10.7 --enable-unicode --with-osx-cocoa --enable-aui --disable-debug --with-opengl --without-liblzma --without-subdirs
* make -j2
* vi change-install-names (needed in order to run make install successfully)
** comment last line: #install_name_tool ${changes} ${2}/wxrc-3.0)
** this seems to be connected to --without-subdirs as wxrc-3.0 ist not being build
** see https://forums.wxwidgets.org/viewtopic.php?t=38083
* sudo make install

plugin
* cd vdr_pi
* mkdir build-release && cd build-release
* cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 -DCMAKE_CXX_FLAGS=-stdlib=libstdc++ ..
* make
* packagesbuild -F /Users/jk/Development/OpenCPN/vdr_pi_package/build/ VDR.pkgproj

Everything works out, the plugin is running, thanks a lot for the help!

@Dave, @nohal:

The prebuild package ist working without a problem. My goal is to save a filtered NMEA stream to a file and I thought the Voyage Data Recorder Plugin would be a good starting point to do so. That's why I wanted to build the package myself. Is there already another way to solve that task?
Zoapone is offline   Reply With Quote
Old 13-02-2019, 07:01   #86
Registered User

Join Date: Feb 2019
Posts: 2
Re: VDR Plugin

Hi - I may be missing something but I do not see the timestamp in the log file that VDR puts out?

This would be very helpful to me. I also seem to be able to access more data in openCPN from AIS than VDR logs - for example size of vessel.

I am trying to use this to build logs of shipping activity in my area to help with some research I am doing. OpenCPN AIS info is great, I just need to log it! Any advice on how to get this would be great.

Many thanks - John.
jashim25 is offline   Reply With Quote
Old 14-02-2019, 10:37   #87
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: VDR Plugin

John,

VDR is not a “logger”. It is a recorder for using later to play back a voyage. If you have a GPS during the recording phase the GPS time in dashboard will display the time of the original voyage during playback.

If you want a logger feature that is built in to O. Look in the options how to set the time interval between log entries. They will appear in the opencpn.log file.
transmitterdan is offline   Reply With Quote
Old 14-02-2019, 13:07   #88
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,208
Re: VDR Plugin

Quote:
Originally Posted by jashim25 View Post
Hi - I may be missing something but I do not see the timestamp in the log file that VDR puts out?

This would be very helpful to me. I also seem to be able to access more data in openCPN from AIS than VDR logs - for example size of vessel.

I am trying to use this to build logs of shipping activity in my area to help with some research I am doing. OpenCPN AIS info is great, I just need to log it! Any advice on how to get this would be great.

Many thanks - John.
John...

The VDR logs every single NMEA message it receives, so it is not possible there is less data. You have to keep on mind how AIS works - the static data (Size, name, origin, destination...) is transmitted much less frequently than the dynamic data (Speed, position, course, ROT...)

It (and OpenCPN) also does not exactly look like the right tool for your purpose - you would probably be happier analysing your data say in Python above https://pypi.org/project/libais/

Pavel
nohal is offline   Reply With Quote
Old 15-02-2019, 03:39   #89
Registered User

Join Date: Feb 2019
Posts: 2
Re: VDR Plugin

Thanks TransmitterDan!
jashim25 is offline   Reply With Quote
Old 15-02-2019, 08:49   #90
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,631
Images: 2
Re: VDR Plugin

VDR_pi for ov50 Beta is not working please see
http://www.cruisersforum.com/forums/...ml#post2826456


We really need this to work in order to test other plugins!
rgleason is offline   Reply With Quote
Reply


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
Plugin: DashBoard SethDart OpenCPN 644 02-04-2024 16:55
Logbook Plug-in SethDart OpenCPN 113 04-06-2022 11:21
BSB 4 PlugIn bdbcat OpenCPN 98 25-04-2018 18:46
Chartwork Plugin mario f OpenCPN 10 29-03-2012 19:21
Plugin Documentation cagney OpenCPN 0 17-05-2011 10:51

Advertise Here


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


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.