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 23-05-2019, 13:31   #31
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,739
Images: 2
Re: no VMG, HDG, COG on Dashboard (plus other issues)

From your vdr file

$GPGGA,185052.000,1820.9337,N,06436.9185,W,1,10,0. 9,-5.0,M,-45.3,M,,0000*4D
Remove the checksum *4D and run the Nmea0183 checksum checker
$$GPGGA,185052.000,1820.9337,N,06436.9185,W,1,10,0 .9,-5.0,M,-45.3,M,,0000*69


Checksum is wrong.


==========


$GPGSA,A,3,01,22,28,17,30,03,11,18,07,19,,,2.3,0.9 ,2.1*32


remove *32


With checksum:$$GPGSA,A,3,01,22,28,17,30,03,11,18,07,19,,,2.3,0. 9,2.1*16


You try some other sentences in your vdr file here


https://nmeachecksum.eqth.net/


Perhaps this is why there are problems?
rgleason is offline   Reply With Quote
Old 23-05-2019, 13:36   #32
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,739
Images: 2
Re: no VMG, HDG, COG on Dashboard (plus other issues)

Noel, and Chris,
I got thinking about this. Can you try something to test Opencpn by running some good VDR_pi files to see if the problem is still there?


I have also asked Fernando to try this. Download some good data and run vdr_pi and see if the data appears in the statusbar. Try the files in the tactics_pi plugin manual if you don't know of any good VDR files.


Turn off all other incoming data.
Check the screens.


PS: BTW you've got an awful lot of plugins enabled. Turn all of them off except vdr_pi while doing this test.
Then after checking the screens and results, turn the plugins on, one at a time and note when there are problems and what they are please. We would very much like to know about this.


Thank you.
rgleason is offline   Reply With Quote
Old 23-05-2019, 13:39   #33
Moo
Registered User

Join Date: Mar 2017
Posts: 804
Re: no VMG, HDG, COG on Dashboard (plus other issues)

Quote:
Originally Posted by rgleason View Post
Noel, and Chris,
I got thinking about this. Can you try something to test Opencpn by running some good VDR_pi files to see if the problem is still there?


I have also asked Fernando to try this. Download some good data and run vdr_pi and see if the data appears in the statusbar. Try the files in the tactics_pi plugin manual if you don't know of any good VDR files.


Turn off all other incoming data.


Check the screens.

Rick....


It is deeper than that. just leave it with me for a few minutes. I can now reproduce. Nothing wrong with my data stream.. and as I stated earlier I don't use VDR
Moo is offline   Reply With Quote
Old 23-05-2019, 13:51   #34
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,739
Images: 2
Re: no VMG, HDG, COG on Dashboard (plus other issues)

Ok, I'll hold the horses, knowing you've got a hold of it!
rgleason is offline   Reply With Quote
Old 23-05-2019, 14:46   #35
Moo
Registered User

Join Date: Mar 2017
Posts: 804
Re: no VMG, HDG, COG on Dashboard (plus other issues)

Quote:
Originally Posted by rgleason View Post
Ok, I'll hold the horses, knowing you've got a hold of it!

Rick, Noel,


OK I can now reproduce on all machines. I don't know why it would not reproduce on my windows machine before but I think it was because I was just changing the timezone but the time was still correct.. However I can now not, not, reproduce the issue!

Rick - the checksum thing you noticed is because you had a space in the NMEA sentence that you copy/pasted.

Here are a couple of screenshots illustrating. Noel have you already filed a bug report?


Noel - You had it right all along. I couldn't reproduce. I guess I had never seen it before because my boat computers run on
UTC.


cheers Chris
Attached Thumbnails
Click image for larger version

Name:	Times no route active.PNG
Views:	66
Size:	145.7 KB
ID:	192594   Click image for larger version

Name:	Times route active.PNG
Views:	64
Size:	150.4 KB
ID:	192595  

Click image for larger version

Name:	Times route active - no plugins.png
Views:	82
Size:	159.5 KB
ID:	192596  
Moo is offline   Reply With Quote
Old 23-05-2019, 17:23   #36
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,739
Images: 2
Re: no VMG, HDG, COG on Dashboard (plus other issues)

Quote:
Originally Posted by rgleason View Post
From your vdr file

$GPGGA,185052.000,1820.9337,N,06436.9185,W,1,10,0. 9,-5.0,M,-45.3,M,,0000*4D
Remove the checksum *4D and run the Nmea0183 checksum checker
$$GPGGA,185052.000,1820.9337,N,06436.9185,W,1,10,0 .9,-5.0,M,-45.3,M,,0000*69


Checksum is wrong.


==========


$GPGSA,A,3,01,22,28,17,30,03,11,18,07,19,,,2.3,0.9 ,2.1*32


remove *32


With checksum:$$GPGSA,A,3,01,22,28,17,30,03,11,18,07,19,,,2.3,0. 9,2.1*16


You try some other sentences in your vdr file here


https://nmeachecksum.eqth.net/


Perhaps this is why there are problems?

Chris you are correct about the second example, but the first one has a space and I believe the checksum is wrong.


Do you have a VDR file perchance?
rgleason is offline   Reply With Quote
Old 23-05-2019, 17:42   #37
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,739
Images: 2
Re: no VMG, HDG, COG on Dashboard (plus other issues)

Post #1 fails NMEA Decoder. Using this free tool you can decode (parse) your NMEA log.


Post #24 vdr file passes http://freenmea.net/decoderwith some jitter.
Attached Thumbnails
Click image for larger version

Name:	Screenshot (115).jpg
Views:	58
Size:	323.9 KB
ID:	192604  
rgleason is offline   Reply With Quote
Old 23-05-2019, 17:45   #38
Marine Service Provider
 
LifePart2's Avatar

Join Date: Sep 2010
Location: half time on board, the rest in Canada
Boat: Leopard 42 catamaran
Posts: 297
Re: no VMG, HDG, COG on Dashboard (plus other issues)

Here is the replication procedure:

1) turn on OpenCPN with an active GPS signal

2) Display the dashboard plugin, showing 'Local GPS Clock' and also 'GPS Clock'. It should display the correct local time for the time zone to which you have set your computer, and the correct UTC time (check the internet for the current time).

3) manually change the local time on your computer to something wrong (eg two hours ago). Make sure you turned off the setting to automatically set the time from the internet. The dashboard should still show the correct times as in step 2.

4) now put in a simple 'navigate to here' route. The route panel will be displayed, showing your VMG, ETA etc. Does the dashboard clock now show the wrong time (eg two hours ago) for both local time and UTC time?

4a) If you are actually moving towards the destination, does the ETA correspond to the correct time, or the wrong time (eg two hours too early)? e.g. if TTG is 1 hour, and the correct time is 10am and the wrong time is 8am, does the ETA show 11am (correct) or 9am (wrong)?

5) deactivate that route. Does the dashboard clock go back to showing the correct GPS time as in step 2?

If the answers to 4 & 5 are yes, then you have replicated the problem.

Hope that makes sense. Do you need any screenshots?

Noel
__________________
Noel Swanson

Life is too short to live in ugly places.
LifePart2 is offline   Reply With Quote
Old 23-05-2019, 17:48   #39
Marine Service Provider
 
LifePart2's Avatar

Join Date: Sep 2010
Location: half time on board, the rest in Canada
Boat: Leopard 42 catamaran
Posts: 297
Re: no VMG, HDG, COG on Dashboard (plus other issues)

Sorry, just realised that you had already figured it out.

No, I have not filed a bug report. Do you need me to do that?

Noel
__________________
Noel Swanson

Life is too short to live in ugly places.
LifePart2 is offline   Reply With Quote
Old 23-05-2019, 17:51   #40
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,739
Images: 2
Re: no VMG, HDG, COG on Dashboard (plus other issues)

File in post #17 is an actual pdf file can't run it.


The 2 nema files in post #23

http://www.cruisersforum.com/forums/...ml#post2894142


both pass the checker.
rgleason is offline   Reply With Quote
Old 23-05-2019, 17:52   #41
Marine Service Provider
 
LifePart2's Avatar

Join Date: Sep 2010
Location: half time on board, the rest in Canada
Boat: Leopard 42 catamaran
Posts: 297
Re: no VMG, HDG, COG on Dashboard (plus other issues)

Quote:
I guess I had never seen it before because my boat computers run on
UTC.
Exactly - as do most people's computers. It is only now that I am using the RPI and I don't know how to set it to get the time from the NMEA stream that the problem became so obvious.

Thanks for your patience in sticking with me on this. Tell me if you need me to file a report or if you will be doing it. (internet seems to be better here in BVI now)

Noel
__________________
Noel Swanson

Life is too short to live in ugly places.
LifePart2 is offline   Reply With Quote
Old 23-05-2019, 18:15   #42
Marine Service Provider
 
LifePart2's Avatar

Join Date: Sep 2010
Location: half time on board, the rest in Canada
Boat: Leopard 42 catamaran
Posts: 297
Re: no VMG, HDG, COG on Dashboard (plus other issues)

Just for interest sake, here is a NMEA recording from about 2 years ago. It shows different time stamps for the $EC and $GP sentences - about an hour apart. Don't know what version of OCPN that was. Would have been a windows machine.

Noel
__________________
Noel Swanson

Life is too short to live in ugly places.
LifePart2 is offline   Reply With Quote
Old 23-05-2019, 18:19   #43
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,739
Images: 2
Re: no VMG, HDG, COG on Dashboard (plus other issues)

Quote:
Originally Posted by LifePart2 View Post
Here is the replication procedure:

1) turn on OpenCPN with an active GPS signal

2) Display the dashboard plugin, showing 'Local GPS Clock' and also 'GPS Clock'. It should display the correct local time for the time zone to which you have set your computer, and the correct UTC time (check the internet for the current time).

3) manually change the local time on your computer to something wrong (eg two hours ago). Make sure you turned off the setting to automatically set the time from the internet. The dashboard should still show the correct times as in step 2.

4) now put in a simple 'navigate to here' route. The route panel will be displayed, showing your VMG, ETA etc. Does the dashboard clock now show the wrong time (eg two hours ago) for both local time and UTC time?

4a) If you are actually moving towards the destination, does the ETA correspond to the correct time, or the wrong time (eg two hours too early)? e.g. if TTG is 1 hour, and the correct time is 10am and the wrong time is 8am, does the ETA show 11am (correct) or 9am (wrong)?

5) deactivate that route. Does the dashboard clock go back to showing the correct GPS time as in step 2?

If the answers to 4 & 5 are yes, then you have replicated the problem.

Hope that makes sense. Do you need any screenshots?

Noel

Yes please, and can you file a tracker item that refers/links to your posts?
Thank you!


The tracker is found on opencpn.org in the menu bar... call it a bug.
rgleason is offline   Reply With Quote
Old 23-05-2019, 18:47   #44
Marine Service Provider
 
LifePart2's Avatar

Join Date: Sep 2010
Location: half time on board, the rest in Canada
Boat: Leopard 42 catamaran
Posts: 297
Re: no VMG, HDG, COG on Dashboard (plus other issues)

done: https://opencpn.org/flyspray/index.p...s&task_id=2568
__________________
Noel Swanson

Life is too short to live in ugly places.
LifePart2 is offline   Reply With Quote
Old 23-05-2019, 18:50   #45
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,739
Images: 2
Re: no VMG, HDG, COG on Dashboard (plus other issues)

Thank you Moo and LifePart2!! Much appreciated.
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
COG, true HDG, mag COG all wrong codger OpenCPN 18 19-05-2020 04:03
Own ship icon oriented to COG not HDG LJK OpenCPN 4 04-08-2018 19:29
NMEA Sentence HDG Andreas29 OpenCPN 4 15-11-2017 12:50
Custom NMEA Sentences-convert HDG in HDM Madden OpenCPN 3 25-05-2015 20:21
No HDG Data Display In OpenCPN xiurong OpenCPN 19 15-01-2014 05:46

Advertise Here


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


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.