Cruisers Forum
 


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 25-10-2020, 09:25   #1
Registered User

Join Date: Aug 2016
Location: Stockholm, Sweden
Posts: 119
GPS based Odometer

A GPS based Odometer has now been made available for OpenCPN version 5.0 and higher. It is a simple odometer with these basic functions:

An optional Speedometer with both analog and digital readout.
A Total Distance log, always displayed.
A Trip Distance log, always displayed.
An optional Deparure / Arrival timer with digital readout
A Trip reset button that resets Trip, Departure Time and Arrival Time
An optional Leg Trip Time and Distance counter including a Leg Reset button

The instruments are shown in the above listed order. It is not possible to change the order, only to toggle the optional instruments on and off. The instruments for Total Distance, Trip Distance plus the Trip Reset button can not be toggled off.

The plugin is based on the OpenCPN dashboard plugin and the idea is to make a GPS based Odometer that is as straight-forward as possible. It has a minimum of options to allow for easy use and a minimum of handling. Just leave the GPS Odometer on screen and reset the trip counter once the trip is ended (and log written?) or before the new trip starts.

As the GPS Odometer is GPS based it, of course, requires NMEA 0183 signals RMC and GGA to be received for any data to be shown.

Currently the only languages supported are English and Swedish but more languages are to follow shortly.

Please se the page 'https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn/opencpn_user_manual/plugins/other/odometer' for additional information.

The 'GPS Odometer' is available in the package manager.
LennartG is offline   Reply With Quote
Old 25-10-2020, 14:36   #2
Registered User
 
Simi 60's Avatar

Join Date: Jun 2016
Location: Australia
Boat: Milkraft 60 ex trawler
Posts: 2,950
Re: GPS based Odometer

HUZZAH

And thanks, been wanting this for quite some time.

ADD: your url takes me to....
Quote:

This topic does not exist yet
You've followed a link to a topic that doesn't exist yet. If permissions allow, you may create it by clicking on Create this page.
THIS
https://opencpn.org/wiki/dokuwiki/do...other:odometer

Ah, only tested on linux so not available for win10 yet?
Simi 60 is offline   Reply With Quote
Old 25-10-2020, 23:36   #3
Registered User

Join Date: Aug 2016
Location: Stockholm, Sweden
Posts: 119
Re: GPS based Odometer

Simi 60,
it should be available in package manager, also for win10. I do not use/own a Windows machine (have not for many years). Would appreciate others testing it as well.
Also: The website link is ok on my machine if using v0.2.4.0.

Thanks!

/Lennart
LennartG is offline   Reply With Quote
Old 26-10-2020, 04:30   #4
Registered User

Join Date: Apr 2015
Location: Norfolk, UK
Posts: 51
Re: GPS based Odometer

Works fine on Windows 10. Many thanks.


Andrew
duichan is offline   Reply With Quote
Old 26-10-2020, 07:34   #5
Registered User
 
sv_pelagia's Avatar

Join Date: Apr 2013
Location: British Columbia
Boat: Sceptre 41
Posts: 164
Re: GPS based Odometer

Get an error using OpenCPN for AndroidClick image for larger version

Name:	Screenshot_20201026-073411_OpenCPN.jpeg
Views:	47
Size:	59.8 KB
ID:	225868
sv_pelagia is online now   Reply With Quote
Old 26-10-2020, 09:22   #6
Registered User

Join Date: Aug 2016
Location: Stockholm, Sweden
Posts: 119
Re: GPS based Odometer

sv_pelagia,
that is very odd as the same code works on both Linux and Windows (haven't heard about mac yet).

Can't see where the problem is but will look further. Maybe the community can share some light on it.
/Lennart
LennartG is offline   Reply With Quote
Old 26-10-2020, 09:51   #7
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 3,956
Re: GPS based Odometer

Quote:
Originally Posted by LennartG View Post
sv_pelagia,
(haven't heard about mac yet).

/Lennart

Lennart,


does install and show up under macOS Catalina.
Duplicate entry in the plug-in list when selecting GPS odo.
Rest looks ok, numbers are perhaps a little tiny.


Night mode has an issue: bright white text


Hubert
Attached Thumbnails
Click image for larger version

Name:	Captura de pantalla 2020-10-26 a las 17.45.54.png
Views:	23
Size:	204.5 KB
ID:	225878   Click image for larger version

Name:	Captura de pantalla 2020-10-26 a las 17.47.09.png
Views:	31
Size:	142.1 KB
ID:	225879  

Click image for larger version

Name:	Captura de pantalla 2020-10-26 a las 17.52.18.png
Views:	17
Size:	97.9 KB
ID:	225880  
bcn is offline   Reply With Quote
Old 26-10-2020, 10:55   #8
Registered User

Join Date: Aug 2016
Location: Stockholm, Sweden
Posts: 119
Re: GPS based Odometer

bcn,
thanks, The duplicate will be removed asap and I will find the reason for the bright text, clearly a mistake.
Text sizes can be changed in the settings dialogue.
/Lennart
LennartG is offline   Reply With Quote
Old 28-10-2020, 03:19   #9
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,741
Re: GPS based Odometer

Hello LennartG,

I started by installing update the "Master" list and installing the latest version of the GPS-Odometer_pi plugin.

I am used to doing all the translations of the OpenCPN language files and plugins. As usual, I will therefore also translate those of this plugin.

That said, I observe after checking Crowdin, that there are some strange things. There are items, translated into French on my PC, but missing from the language file of this plugin in Crowdin. See screen copy. This not good.

This means that OpenCPN uses items already translated into the core of OpenCPN. But, if one day, Dave removes these items from the core or if I modify the translation in the core language file, the translations may no longer appear or no longer have a meaning adapted to this plugin.

Gilletarom.
Attached Thumbnails
Click image for larger version

Name:	2020-10-28 11_10_13-Options _.jpg
Views:	15
Size:	62.4 KB
ID:	226017  
Gilletarom is offline   Reply With Quote
Old 28-10-2020, 03:32   #10
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,741
Re: GPS based Odometer

Hello LennartG
Quote:
Originally Posted by LennartG View Post
A GPS based Odometer has now been made available for OpenCPN version 5.0 and higher. It is a simple odometer with these basic functions:
.....
In post # 1 of this thread, I read this:
"
As the GPS Odometer is GPS based it, of course, requires NMEA 0183 signals RMC and GGA to be received for any data to be shown.

"
Being on the ground, I test your plugin with VDR, by playing a pre-recorded file of NMEA sentences. Apparently everything is working fine. See screenshot.

However, if you observe the NMEA stream, there is no GGA type NMEA sentence.
So I guess, that kind of phrase is not needed.

Am I wrong?
Gilletarom.


Oups ... After another try, I just saw that the NMEA stream contains rare GGA-like phrases. See second screen copy.
Attached Thumbnails
Click image for larger version

Name:	2020-10-28 11_27_06-.jpg
Views:	22
Size:	258.3 KB
ID:	226018   Click image for larger version

Name:	2020-10-28 11_35_01-.jpg
Views:	14
Size:	109.7 KB
ID:	226019  

Gilletarom is offline   Reply With Quote
Old 28-10-2020, 04:12   #11
Registered User

Join Date: Aug 2016
Location: Stockholm, Sweden
Posts: 119
Re: GPS based Odometer

Gilleratom,
nice to see it working and are looking forward to the translations.
OpenCPN items: Not sure that 'using the same translation' will cause any problems, it is also locally contained.
Note about the buttons: These are of fixed size so please be careful with the text string length.
GGA: You just found an 'inconvenience' in that, depending on message order or if GGA is lost GGA may not work as expected. Are currently rewriting the watchdog handling to take care of this. GGA is a good GPS quality safekeeper.
/Lennart
LennartG is offline   Reply With Quote
Old 28-10-2020, 04:50   #12
Registered User

Join Date: Jul 2010
Location: Kalamata, Greece
Boat: Amel Sharki
Posts: 2,175
Re: GPS based Odometer

I am wondering why another plugin is needed. An enhancement of the dashboard_pi plugin should do the same. It is often difficult to invent the wheel another time.
CarCode is online now   Reply With Quote
Old 28-10-2020, 05:00   #13
Registered User

Join Date: Aug 2016
Location: Stockholm, Sweden
Posts: 119
Re: GPS based Odometer

CarCode,
The simple answer is: It has been on the request list for over two years and for me it was easier to do a separate plugin than an extension. It is all a matter of priorities, this was mine.

/Lennart
LennartG is offline   Reply With Quote
Old 28-10-2020, 06:07   #14
Registered User

Join Date: Jul 2010
Location: Kalamata, Greece
Boat: Amel Sharki
Posts: 2,175
Re: GPS based Odometer

Quote:
Originally Posted by LennartG View Post
CarCode,
The simple answer is: It has been on the request list for over two years and for me it was easier to do a separate plugin than an extension. It is all a matter of priorities, this was mine.
/Lennart
Knowing the main developer behavior I can understand you...
CarCode is online now   Reply With Quote
Old 30-10-2020, 07:45   #15
Registered User

Join Date: Aug 2016
Location: Stockholm, Sweden
Posts: 119
Re: GPS based Odometer

A new release, v. 0.2.5, of the GPS Odometer is now available.
The changes are:
- The Speedometer will not show any data if either RMC or GGA is not available. This is now correct even if the signal is lost while used. There is a five seconds timeout to allow for short interruptions.
- Night mode for the reset buttons is now corrected, the text is no longer light gray although the button frame is intentionally still visible.
Have also heard that, on Windows, it may happen that the instruments appear in a changed order after an update. This is currently being investigated. The functionality seems however still to be correct.
/LennartG
LennartG is offline   Reply With Quote
Reply

Tags
gps

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
Garmin buys Maine-based GPS products company DeLorme pickpaul Marine Electronics 6 14-02-2016 19:32
Land Based Map of Baja Mexico and Windows 10 GPS Receiver? Mike321 OpenCPN 7 26-01-2016 01:57
Resettable Odometer Trip Log Slackwater OpenCPN 2 05-06-2012 09:32
BU353-Based GPS " Puck " Receiver - Is It Precise ? Skipper Solo OpenCPN 21 25-01-2012 11:54
Furuno GPS - 'GPS Week Number Rollover' bitman Navigation 0 25-11-2009 04:53

Advertise Here


All times are GMT -7. The time now is 11:06.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2020, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.