Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 24-04-2018, 03:39   #1
jgk
Registered User
 
jgk's Avatar

Join Date: Apr 2018
Posts: 5
display position of an object with UDP conection

Hi!

New to CPN, so might be asking a stupid question...

I m a trying to display the position of an object (a mini ROV) in open CPN.

I ve set up a connection to receive NMEA data through UDP. It appears to receive the data (data streams showing in NMEA debug window), but then i can't manage to get a display of this position in the map.

any ideas?

Thanks!
__________________

jgk is offline   Reply With Quote
Old 24-04-2018, 04:52   #2
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 5,228
Re: display position of an object with UDP conection

No, no idea as we do not know what data your object sends.
__________________

nohal is offline   Reply With Quote
Old 24-04-2018, 04:53   #3
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 3,843
Re: display position of an object with UDP conection

Publish the data stream here, in oder to see if it is correct.
(For attachments the paper clip, rename the file to ...txt.jpg to overcome size restrictions - or just paste some lines into the comment)
bcn is offline   Reply With Quote
Old 24-04-2018, 05:30   #4
jgk
Registered User
 
jgk's Avatar

Join Date: Apr 2018
Posts: 5
Re: display position of an object with UDP conection

Click image for larger version

Name:	Capture2.jpg
Views:	50
Size:	278.1 KB
ID:	168640

Thanks for the replies!

See example of the data stream here and attached:


----------
$GPGGA,121555,6326.539,N,01025.447,E,0,00,0.0,0.0, M,0.0,M,,*7B
$GPGGA,121555,6326.540,N,01025.449,E,0,00,0.0,0.0, M,0.0,M,,*7B
...
jgk is offline   Reply With Quote
Old 24-04-2018, 05:53   #5
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 5,228
Re: display position of an object with UDP conection

Quote:
Originally Posted by jgk View Post
Attachment 168640

Thanks for the replies!

See example of the data stream here and attached:


----------
$GPGGA,121555,6326.539,N,01025.447,E,0,00,0.0,0.0, M,0.0,M,,*7B
$GPGGA,121555,6326.540,N,01025.449,E,0,00,0.0,0.0, M,0.0,M,,*7B
...
Whatever creates this NMEA stream reports all the positions as invalid (0 in the 6th data field, for a valid position it must be 1 or 2, see GPS - NMEA sentence information)

Pavel
nohal is offline   Reply With Quote
Old 24-04-2018, 07:25   #6
jgk
Registered User
 
jgk's Avatar

Join Date: Apr 2018
Posts: 5
Re: display position of an object with UDP conection

Hi pavel,

Thanks for your input. indeed, correcting the NMEA stream with the valid positions fixed it.

And next follow up question: is it possible to display 2 positions from two such streams for 2 different ship (in my case one ROV + one vessel position)?

If I setup two connections with their own data streams of positions, they are interpreted as "own ship" and the ship keep jumping around from one to the other :-)
jgk is offline   Reply With Quote
Old 24-04-2018, 07:29   #7
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 5,228
Re: display position of an object with UDP conection

Quote:
Originally Posted by jgk View Post
Hi pavel,

Thanks for your input. indeed, correcting the NMEA stream with the valid positions fixed it.

And next follow up question: is it possible to display 2 positions from two such streams for 2 different ship (in my case one ROV + one vessel position)?

If I setup two connections with their own data streams of positions, they are interpreted as "own ship" and the ship keep jumping around from one to the other :-)
Yes, but not like this, the GPS sensor in NMEA0183 means "my own GPS sensor" for us. You will have to use other features - either AIS (AIVDM sentence, "difficult" to encode) or WPL sentence treated as APRS position reports (trivial to encode).
nohal is offline   Reply With Quote
Old 24-04-2018, 07:45   #8
jgk
Registered User
 
jgk's Avatar

Join Date: Apr 2018
Posts: 5
Re: display position of an object with UDP conection

ok, understood, thanks!

indeed, GPWPL will do the trick for me.
jgk is offline   Reply With Quote
Old 24-04-2018, 07:47   #9
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 5,228
Re: display position of an object with UDP conection

Quote:
Originally Posted by jgk View Post
ok, understood, thanks!

indeed, GPWPL will do the trick for me.
Do not forget to enable it in Toolbox->Ships->AIS Targets...
nohal is offline   Reply With Quote
Old 24-04-2018, 08:43   #10
jgk
Registered User
 
jgk's Avatar

Join Date: Apr 2018
Posts: 5
Re: display position of an object with UDP conection

__________________

jgk is offline   Reply With Quote
Reply

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
Raymarine DSM300 conection to B&G Antilag Marine Electronics 5 22-04-2018 21:04
Nmea multiplexer conection Arjuna01 OpenCPN 1 31-03-2017 03:28
Wiresharking Radar Gofree Navionics Android UDP Mulitcast Sleuthing rgleason OpenCPN 0 20-01-2016 07:19
UDP reuse? rsl360 OpenCPN 12 03-07-2014 21:23
Need help broadcasting NMEA data over a local network using UDP RhythmDoctor OpenCPN 3 02-05-2014 04:53

Advertise Here


All times are GMT -7. The time now is 15:37.


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.