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 19-04-2019, 11:21   #1
Registered User

Join Date: Jul 2014
Posts: 24
RMC messages lost in NMEA stream

Hi.

I have a USB GPS device - a NaviLock nl-8002u - which I have set to receive GPS, Glonass and Galileo satellites.

When I look in the NMEA stream there are no RMC meassages in OCPN 5 (see attached dump).

But when I look in a simple NMEA moitor program, as well as in the device manufacturer's setup program there are RMC strings present (see the other dump).

I find this a bit interesting...or maybe it's just some setup error on my behalf.
I get a valid position from the other NMEA sentences that are read, though...

B.R.
Magnsu Ohlsson
Attached Thumbnails
Click image for larger version

Name:	NMEA stream in OCN 5 No RMC sentences.jpg
Views:	117
Size:	411.0 KB
ID:	190325   Click image for larger version

Name:	NMEA stream in GPS-NMEA Monitor RMC filtered out.jpg
Views:	102
Size:	403.4 KB
ID:	190326  

maohls is offline   Reply With Quote
Old 19-04-2019, 11:44   #2
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,742
Re: RMC messages lost in NMEA stream

115200 at baud rate?
bcn is offline   Reply With Quote
Old 19-04-2019, 11:50   #3
Registered User

Join Date: Jul 2014
Posts: 24
Re: RMC messages lost in NMEA stream

Yes, 115.20 kBaud. Set in COM port properties and both programs.
I have tried other baud rates with the same result...
It's a fast device...
/Magnus
maohls is offline   Reply With Quote
Old 19-04-2019, 11:59   #4
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,742
Re: RMC messages lost in NMEA stream

What happens if you ignore the checksum?
bcn is offline   Reply With Quote
Old 19-04-2019, 12:04   #5
Registered User

Join Date: Jul 2014
Posts: 24
Re: RMC messages lost in NMEA stream

Will try that a bit later tonight...
/Magnus
maohls is offline   Reply With Quote
Old 19-04-2019, 13:42   #6
Registered User

Join Date: Jul 2014
Posts: 24
Re: RMC messages lost in NMEA stream

Quote:
Originally Posted by bcn View Post
What happens if you ignore the checksum?
So, now I have tried unticking the cheksum.
Disappointing result though.
Some sporadic RMC sentences get through, as opposed to the stream in the NMEA monitor program where RMC sentences are spouted out three times every second, with checksum enabled.
(Makes sense - the GPS is set up for 3 Hz update rate)

/Magnus
Attached Thumbnails
Click image for larger version

Name:	NMEA stream in GPS-NMEA Monitor RMC filtered out_2.png
Views:	99
Size:	313.2 KB
ID:	190354   Click image for larger version

Name:	NMEA stream in OCN 5 without checksum - sporadic RMC sentence.jpg
Views:	165
Size:	406.2 KB
ID:	190355  

maohls is offline   Reply With Quote
Old 19-04-2019, 17:37   #7
Moo
Registered User

Join Date: Mar 2017
Posts: 804
Re: RMC messages lost in NMEA stream

Quote:
Originally Posted by maohls View Post
So, now I have tried unticking the cheksum.
Disappointing result though.
Some sporadic RMC sentences get through, as opposed to the stream in the NMEA monitor program where RMC sentences are spouted out three times every second, with checksum enabled.
(Makes sense - the GPS is set up for 3 Hz update rate)

/Magnus
Have you tried a more sane update rate of say 1 per second?

You don't need positional updates faster than that except for very special purposes. Heading information at high speed is useful of course but that would come in a different sentance.
Moo is offline   Reply With Quote
Old 20-04-2019, 02:56   #8
Registered User

Join Date: Jul 2014
Posts: 24
Re: RMC messages lost in NMEA stream

Quote:
Originally Posted by Moo View Post
Have you tried a more sane update rate of say 1 per second?

You don't need positional updates faster than that except for very special purposes. Heading information at high speed is useful of course but that would come in a different sentance.
Hi.
Sorry!
Lowering the rate to 1 Hz and setting the port to 38.4 kBaud - no difference.
OCPN still doesn't receive the RMC sentences whereas the NMEA monitor program does...
/Magnus

PS. The reason I bought this device was not for the possibility of high update rate, but for being able to receive Galileo as well as GPS and Glonass DS.
Attached Thumbnails
Click image for larger version

Name:	NMEA stream in OCN 5 at 1 Hz and 38.4kBaud - still no RMC.jpg
Views:	90
Size:	403.9 KB
ID:	190384  
maohls is offline   Reply With Quote
Old 20-04-2019, 03:45   #9
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,742
Re: RMC messages lost in NMEA stream

On which Operating System are you?
Can your use a simple terminal program to hook to the serial port to get an input stream?
bcn is offline   Reply With Quote
Old 20-04-2019, 03:52   #10
Registered User

Join Date: Jul 2014
Posts: 24
Re: RMC messages lost in NMEA stream

Quote:
Originally Posted by bcn View Post
On which Operating System are you?
Can your use a simple terminal program to hook to the serial port to get an input stream?
This is a Win10 laptop. I have used two separate NMEA terminal programs and they both show RMC sentences (see dumps in previous posts)...
/Magnus
maohls is offline   Reply With Quote
Old 20-04-2019, 04:17   #11
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,742
Re: RMC messages lost in NMEA stream

Looking again on your NMEA debug window from OCPN

- why are there broken entries?
- and why are there garbled RMC messages - better: messages preceded by garbage?

And if you try with 4800 or 9600baud?
The Navilock devices are usually pretty well behaving. Have one running here.
Attached Thumbnails
Click image for larger version

Name:	Captura de pantalla 2019-04-20 a las 13.06.32.jpg
Views:	120
Size:	203.6 KB
ID:	190393  
bcn is offline   Reply With Quote
Old 20-04-2019, 05:44   #12
Registered User

Join Date: Jul 2014
Posts: 24
Re: RMC messages lost in NMEA stream

Quote:
Originally Posted by bcn View Post
Looking again on your NMEA debug window from OCPN

- why are there broken entries?
- and why are there garbled RMC messages - better: messages preceded by garbage?

And if you try with 4800 or 9600baud?
The Navilock devices are usually pretty well behaving. Have one running here.
Yes, I noted those few corrupted RMC messages as well as other more obvious erroneous sentences such as "<0x0F>#" on several occurancies.

Backing down to 4800 Baud, 1 Hz didn't change the picture - still no RMC sentences in OCPN. The position is extracted through GGA, GLL and GNS which are received correctly.

Found a clue though!
The attached dump shows the stream, and EVERY RMC line is preceeded by some propriety UBX binary sentence.
Maybe this could cause problems for OPENCPN.
Will try to get rid of that...
/Magnus
Attached Thumbnails
Click image for larger version

Name:	NMEA stream in NMEA monitor propriety sentence preceeding RMC.jpg
Views:	116
Size:	260.7 KB
ID:	190396  
maohls is offline   Reply With Quote
Old 20-04-2019, 07:25   #13
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: RMC messages lost in NMEA stream

May you record a bit of that data stream and post here?
We should sure handle crap like that better...
nohal is offline   Reply With Quote
Old 20-04-2019, 08:15   #14
Registered User

Join Date: Jul 2014
Posts: 24
Re: RMC messages lost in NMEA stream

Thanks for looking into this - really great!
Here's a small recorded stream - as you see some crap in front of every RMC sentence...

/Magnus

PS. Remove the .doc extension. It's a zip-file, but that seemed to be an invalid file extension DS.
Attached Files
File Type: doc Recorded_NMEA_stream_Navilock8002U.zip.doc (9.7 KB, 33 views)
maohls is offline   Reply With Quote
Old 21-04-2019, 01:32   #15
Registered User

Join Date: Dec 2015
Location: Germany, sailing: Northsea
Boat: Friendship 28
Posts: 244
Re: RMC messages lost in NMEA stream

Hi,

I got something similar to this.

I use the nmea connection to send route Information to the Autopilot.
For that I set the filter for outgoing Messages to RMB and RMC sentences.
This worked great under OC 4.8.8

Now with OC 5.0 I got irregular wrong COG/SOG informations sometimes the right, sometimes totally wrong, sometimes only ------/-------.
Only when started a route (navigate to in the right click menue).
After I investigate the nmea data stream I found out that there was sentences where ALL the NMEA-sentences from my Network where combined and ther always started with the RMC-sentence from OC for the Autopilot.
After changing the filter for the outgoing sentence so that only the rmb sentence was send this was fixed and the Autopilot gets the route information too (rmb is enough for the pilot, the manual says he need rmc).

Regards

Andreas
Andreas29 is offline   Reply With Quote
Reply

Tags
lost, nmea


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
Nmea 0183 RMC Sentence Problem (for use of VFkaps_pi) rgleason OpenCPN 4 10-10-2017 19:31
AIS NMEA messages not acquired. usodimare OpenCPN 8 16-04-2017 19:16
Radar NMEA messages SolentBlue OpenCPN 19 27-07-2015 19:22
rmb, rmc with Geonav 4c and Furuno George64 Navigation 0 15-05-2011 23:14

Advertise Here


All times are GMT -7. The time now is 17:28.


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.