Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 29-01-2013, 06:49   #1
jm2
Registered User

Join Date: Jun 2012
Location: France
Boat: Brise de mer 9m
Posts: 5
GPS and TCP datastream

Hi All,

For simulation of GPS and AIS, I send NMEA sentences on TCP.
I'm running OCPN Beta Version 3.1.1319
!AIVDM messages work fine and the simulated ships are displayed.

But GPS messages never move the boat to the specified position.

They are received by OpenCPN and visible in the activated NMEA Display Window, for example :
14:35:01 [TCP:localhost:2947] $GPGGA,123519,4807.038,N,01131.000,E,1,08,0.9,545. 4,M,46.9,M,,*47

I tried different GGA and GLL sentences with the same result and I don't see what is wrong.

Grateful for any explanation

Jean Michel
__________________

__________________
jm2 is offline   Reply With Quote
Old 29-01-2013, 14:36   #2
Registered User
 
yannis's Avatar

Join Date: Aug 2011
Location: Netherlands
Boat: Nicholson 39 ketch
Posts: 4
Send a message via Skype™ to yannis
Re: GPS and TCP datastream

Have you tried the $GPRMC sentence?
__________________

__________________
Ger Rietman (http://rietman.wordpress.com)
"There are only 10 kinds of people in the world: those who understand binary, and those who don't."
yannis is offline   Reply With Quote
Old 29-01-2013, 15:25   #3
jm2
Registered User

Join Date: Jun 2012
Location: France
Boat: Brise de mer 9m
Posts: 5
Re: GPS and TCP datastream

OK
I have tried this sentence :
$GPRMC,225446,A,4916.45,N,12311.12,W,000.5,054.7,1 91194,020.3,E*68

and the boat is moving to Vancouver !

I don't understand the error whith my $GPGGA and $GPGLL sentences, but this solution is working.

Many thanks

Jean Michel
__________________
jm2 is offline   Reply With Quote
Old 29-01-2013, 21:47   #4
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: GPS and TCP datastream

jm2...

$GPGGA,123519,4807.038,N,01131.000,E,1,08,0.9,545. 4,M,46.9,M,,*47

has a bad checksum....

Dave
__________________
bdbcat is online now   Reply With Quote
Old 30-01-2013, 10:08   #5
jm2
Registered User

Join Date: Jun 2012
Location: France
Boat: Brise de mer 9m
Posts: 5
Re: GPS and TCP datastream

OK, this sentence has a bad checksum
I think it must be *67
During all the tests that I have done, the control checksum was not checked.
So, I did not care of this checksum and only changed lat/lon information.
But with a good checksum, all is working fine
This new version of OCPN it is very easy to simulate GPS and AIS

Thanks you all for your help

Jean Michel
__________________
jm2 is offline   Reply With Quote
Reply

Tags
gps

Thread Tools
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




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 19:14.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.