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 10-07-2019, 04:50   #121
Registered User
 
rgleason's Avatar

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

Good suggestion, would you mind adding that to tracker under pi-vdr?
rgleason is offline   Reply With Quote
Old 10-07-2019, 07:58   #122
Registered User
 
Schnapsy's Avatar

Join Date: Jan 2018
Location: Dunkirk, France
Boat: ETAP 30i
Posts: 251
Images: 3
Re: VDR Plugin

Quote:
Originally Posted by rgleason View Post
Good suggestion, would you mind adding that to tracker under pi-vdr?
----------------------------------------------------------------
tss, tss, tss...

I wrote previously

" (...) I filed this request on the Tracker, those who are interested can vote
FS#2592 - simplify the backup process
(https://opencpn.org/flyspray/index.p...s&task_id=2592)
(...) "
Schnapsy is offline   Reply With Quote
Old 06-06-2021, 08:05   #123
Registered User

Join Date: Jun 2021
Posts: 1
Re: VDR Plugin

Looking back at the log files is there a way to capture the time the sentence arrived at the serial port?

For example this is what is in the debug window

11:03:58 (Serial:COM8) $HCHDT,283.0,T*20<0x0D><0x0A>

But this is what is saved

$HCHDT,73.8,T*15
PropKnocker5 is offline   Reply With Quote
Old 06-06-2021, 10:14   #124
Registered User

Join Date: Jun 2010
Location: St. Petersburg, Florida
Boat: Gemini 3200
Posts: 983
Re: VDR Plugin

Date and time are saved in track files. I export my track files as GPX files when I return to the dock. Would that work for you?
fgd3 is offline   Reply With Quote
Old 25-02-2024, 03:39   #125
Registered User

Join Date: May 2023
Posts: 52
Re: VDR Plugin

Hello! I'm new to this forum. I recently tried to get the VDR plugin running in order to record navigation data to create polars for my boat. I'm not a programmer and have very baisc IT skills. Getting the plugin to convert the data that I receive natively in N2K and pass it through SK to OpenCPN has been an ordeal. It is finally working but...

Wouldn't it be easier to update the VDR plugin to work with either SK or N2K data since both of those types of data are native to the latest version of OpenCPN? Just a thought.
J.Hernandez is offline   Reply With Quote
Old 25-02-2024, 04:37   #126
Registered User

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

The short answer is no.

NMEA 2000 is a completely different discipline, needs different tools and different approach.

SignalK is just websocket always available over network, "VDR" for it are tools like wscat. Or streaming the data into InfluxDB or whatever else.
nohal is offline   Reply With Quote
Old 25-02-2024, 05:19   #127
Registered User

Join Date: Nov 2015
Location: Ireland
Posts: 472
Re: VDR Plugin

Perhaps t he signalk server would be a better place to log data. Have you checked out this plugin for signalk? There may be others.

https://github.com/mairas/signalk-data-logger
AedanC is offline   Reply With Quote
Old 20-03-2024, 18:51   #128
Registered User
 
seeUlater's Avatar

Join Date: Jul 2020
Posts: 14
Re: VDR Plugin

Hello.

I am using the VDR to record a voyage where I collect the boat's depth and position.

Once I have the vdr.txt file, is there a way that I can see the lat/long and depth information from each of the recorded points? In other words, is there a way to extract these lat/long and depth information for each waypoint on a csv or txt file?

Unfortunately, I am not a computer-savvy programmer and would not be able to use all the Python or other programming tools I see mentioned in forums, so I am looking for a program that would extract that data from the NMEA sentences.

Any help is appreciated.
seeUlater is offline   Reply With Quote
Old 21-03-2024, 08:34   #129
Registered User
 
sv_pelagia's Avatar

Join Date: Apr 2013
Location: British Columbia
Boat: Sceptre 41
Posts: 1,963
Re: VDR Plugin

https://sailing-pelagia.blogspot.com...ou-go.html?m=0
sv_pelagia is online now   Reply With Quote
Old 21-03-2024, 12:57   #130
Registered User
 
seeUlater's Avatar

Join Date: Jul 2020
Posts: 14
Re: VDR Plugin

thank you sv_pelagia.
I will play with it and contact you with questions, or likely, a more effusive thank you.
seeUlater is offline   Reply With Quote
Old 07-04-2024, 01:29   #131
Registered User
 
Antipole's Avatar

Join Date: Oct 2019
Location: Emsworth, UK
Boat: Alubat Ovni 395
Posts: 315
VDR2 - Voyage Data Recorder re-thought

Voyage Data Recorder is a trusty plugin much used by those who want to record NMEA data to a file.

I have taken the idea further and offer VDR2 as an alternative for those that want what it offers.

VDR2 is implemented in JavaScript, so it is malleable and if it does not do what you want, you can change it.

Recording frequency

VDR2 records a set of NMEA records at a chosen time interval.

By default, this is set to 30 seconds. It will record the latest data received after each 30-second interval. This can drastically reduce file size. You can set any interval not less than 1 second.

You can also set a minimum distance from the previous record. If you have not moved this distance at a recording moment, the record will be omitted. The default distance is 0.02nm. This will reduce recording frequency when near becalmed or pause it while anchored.

Source of navigation data

VDR2 does not use NMEA0183 data for the basic navigational data of position, CMG or SMG. Instead, it generates the NMEA0183 records from OpenCPN's navigation data. Hence it is indifferent to how OpenCPN gets its navigation data - NMEA0183, NMEA2000 or SignalK.

NMEA2000 data

VDR2 can receive NMEA2000 data and convert it to NMEA0183 for recording. This is independent of the PGN decoding built into OpenCPN. It can handle any PGN for which there is a descriptor from the Canboat project.

A simple conversion function is required for each PGN. At present, there are functions for PGN 128267 (depth) and PGN 30306 (wind). The converter is only a few lines of code and instructions for adding further ones are included in the documentation.

File management

VDR2 has flexible file options. You can choose between creating a new file or overwriting or appending data to an existing one.

Recording can be paused and resumed.

There is an option to automatically append recorded data on script start and also when the plugin is loaded. It is possible to have a completely automated recording of data at the chosen frequency.

Details and installation

See the script's GitHub repository which also has a discussion forum.
Antipole is offline   Reply With Quote
Old 07-04-2024, 05:20   #132
Registered User
 
seeUlater's Avatar

Join Date: Jul 2020
Posts: 14
Re: VDR Plugin

Thanks Antipole. Looks very interesting.

As I mentioned, I am not a gig and dot understand how to run it. Should I run it using a Java console, separate from OpenCPN?

Do you have any plans to make it a PlugIn that could be used from the OpenCPN native plugin manager?
seeUlater is offline   Reply With Quote
Old 07-04-2024, 09:25   #133
Registered User
 
Antipole's Avatar

Join Date: Oct 2019
Location: Emsworth, UK
Boat: Alubat Ovni 395
Posts: 315
Re: VDR Plugin

Quote:
Originally Posted by seeUlater View Post
Should I run it using a Java console, separate from OpenCPN?

Do you have any plans to make it a PlugIn that could be used from the OpenCPN native plugin manager?
The script runs in the JavaScript plugin which is in the plugin manager catalogue.

Please follow the link provided above in Details and installation.

Also read the User Guide, the first part of which shows you around the plugin. This is not just for programmers.
__________________
If all else fails, read the instructions.
Antipole is offline   Reply With Quote
Old 07-04-2024, 11:10   #134
Registered User
 
seeUlater's Avatar

Join Date: Jul 2020
Posts: 14
Re: VDR Plugin

Antipope.
I should be really dumb. Sorry

I checked the OpenCPN plugging manager and I can see how to import plug-ins but it only reads .tar files

Then I followed your instruction and
A) copied the URL
B) open the JavaScript console on my browser
C) typed load (pasted your url);
D) pressed return
Got the following message:
uncaught SyntaxError: missing ) after argument list

I don’t have any idea of what I am doing and any help would be appreciated.

BTW I am using a Chrome broser
seeUlater is offline   Reply With Quote
Old 07-04-2024, 11:27   #135
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,797
Re: VDR Plugin

Managed plug-ins:


At Options|Plug-ins, update Plug-in catalog (down left)
Scroll down until you find the JavaPI, install...
bcn is online now   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 646 01-07-2024 11:36
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 09:24.


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.