Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 17-11-2012, 22:23   #136
Registered User

Join Date: Jun 2010
Location: Rhodes Greece
Boat: Corbin Ketch 39ft
Posts: 152
Re: OpenCPN Beta Version 3.1.1105 Released

Is there anyway to get a TLL sentence input from a radar similar to an AIS sentence input?
__________________

__________________
Jubilee39 is offline   Reply With Quote
Old 18-11-2012, 01:29   #137
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: OpenCPN Beta Version 3.1.1105 Released

Quote:
Originally Posted by bdbcat View Post
Anyone else able to try gpsd?
Dave...

I did not have time to torture it as much as I would want to, but looks working well to me.

Pavel
__________________

__________________
nohal is online now   Reply With Quote
Old 18-11-2012, 01:55   #138
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 743
Re: OpenCPN Beta Version 3.1.1105 Released

Hi Dave
Many thanks

Compiled master and tested BSB charts : No crash !

But I didn't understand you 'p.s.' sentence ...

Jean Pierre
__________________
Ptizef is offline   Reply With Quote
Old 18-11-2012, 02:53   #139
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: OpenCPN Beta Version 3.1.1105 Released

Quote:
Originally Posted by bdbcat View Post
Thomas...

GPSD....

Works fine for me on 12.04.

Starting gpsd:

$gpsd /dev/ttyS0

O->Connections:
Protocol: Network/GPSD
Address: localhost
Port: 2947

Works fine, with no fiddling required. I see good NMEA messages in the debug window. There will be nothing in the log...Maybe there should be?

Anyone else able to try gpsd?

Dave
Dave
I tried again, both on 64 & 32 bits 12.04, same result.
This is what see:
Click image for larger version

Name:	gpsd.png
Views:	84
Size:	189.5 KB
ID:	49897

Next, I reset the BU 353 to NMEA mode, uninstalled GPSD, but left the GPSD line unchanged in the connection manager. To my surprise I now had a gps connection !!
I had a de facto connection to /dev/ttyUSB0, with a connection line as in the picture above, and still no output in the NMEA debug window.
Next step: I deleted the gpsd connection line and lost my connection to /dev/ttyUSB0.

Then I entered a new serial connection to /dev/ttyUSB0 and had to restart O before coming back to normal operation.

I should ad that BU 353 is forced into SIRF-mode when connecting to GPSD. Is this the problem?

Thomas
__________________
cagney is offline   Reply With Quote
Old 18-11-2012, 03:29   #140
Registered User

Join Date: Jul 2012
Location: Chania, Crete, Greece
Boat: comfortina 32
Posts: 20
Re: OpenCPN Beta Version 3.1.1105 Released

Dear developers,

Coming back to my problem of not being able to receive GPS info from the AIS data stream (sorry for the delay).

I did some testing again on my system at the boat, connected the boat GPS and/or the AIS transponder through serial/USB converter cables tried the version 3.1.1105 and here are my observations:

1. When I connect both instruments (boat GPS and AIS) all works well.

2. When I connect only the AIS transponder, then the following occur:

i. The LED indicator on the AIS transponder shows that it has found enough GPS satellites and receives/transmits all the required information including GPS. The transponder has its own GPS antenna and receiver.

ii. The NMEA debug window (and opencpn debugger plugin) shows that openCPN receives sentences of the type !AISVDO, !AIVDM and $AITXT.
e.g. (approx.) !AIVDO,1,1,,,B3TEQ2,0000KODD44;kc9kw4kP06,0*3
and $AITXT ... internal_GNSS_in_use*3

iii. The Own Ship info in the AIS target list/target information window shows the correct latitude and longitude of the boat. These change correctly with the actual movement of the boat.

iv. The Own Boat icon remains gray and does not move on the screen, the red dot at the NE corner of the screen remains red and no satellite signal srength is shown there.

v. The "NMEA events" window of the debugger pugIn shows only the last long/lat data, which it had received form the (external) GPS of the boat when it was connected at test #1, and indicates nSat=0.

I have to mention that I had noticed similar behaviour in a previous version of the software, which was rectified in the version that followed. GPS info from AIS sentences was received and shared normally in my system in the last version (3.1.915), which did not show this problem.

For every test I chose the correct COMM port and baud rate - 38400 for the AIS transponder and 4800 for the boat GPS. The Accept filter field was left empty.

It seems to me, then, that GPS information is read by the program from the AIVDO (??) sentences, this info is used to update the AIS info of Own Ship and all other ships (in the AIS target info window), but perhaps it is not shared (forwarded) to be used in the calculation of the position of the boat on the screen. Could this be the reason?

Thank you

Alexandros
__________________
Alexandros is offline   Reply With Quote
Old 18-11-2012, 08:51   #141
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: OpenCPN Beta Version 3.1.1105 Released

Alexandros...

Thanks for the detailed information. I see the problem now.

Due to an oversight, 3.1.1105 does not use AIVDO messages in the main navigation loop. Previous version did.

This will soon be fixed for the next version.

Thanks
Dave
__________________
bdbcat is online now   Reply With Quote
Old 18-11-2012, 09:07   #142
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: OpenCPN Beta Version 3.1.1105 Released

Thomas...

Aha.

"I should ad that BU 353 is forced into SIRF-mode when connecting to GPSD. Is this the problem?"

This is almost certainly the problem. I have been testing on my ship's composite NMEA stream, which works fine.

Do you have any information/links on why and how this SIRF mode switch is used for the BU353?

We have three choices:
1. Figure out how to tell gpsd to force NEMA mode
2. Force NMEA mode in O iteself.
3. Learn how to decode SIRF.

Thinking.....

Dave
__________________
bdbcat is online now   Reply With Quote
Old 18-11-2012, 12:26   #143
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: OpenCPN Beta Version 3.1.1105 Released

Thomas....

OK, a little research leads me to a solution.
We can let gpsd do the heavy lifting of converting from sirf to pseudo-NMEA output. We just need to ask the daemon to send only NMEA

Please make the following change to datastream.cpp

Code:
        case wxSOCKET_CONNECTION :
        {
            if(m_net_protocol == GPSD)
            {
                //      Sign up for watcher mode, raw NMEA
//                char cmd[] = "?WATCH={\"class\":\"WATCH\", \"raw\":1,\"scaled\":true}";
                char cmd[] = "?WATCH={\"class\":\"WATCH\", \"nmea\":true}";
                m_sock->Write(cmd, strlen(cmd));
            }

            break;
        }
Rebuild and test. Works for me with BU353 and 12.04, as well as with native NMEA streams from other sources.

Dave
__________________
bdbcat is online now   Reply With Quote
Old 18-11-2012, 13:50   #144
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: OpenCPN Beta Version 3.1.1105 Released

Dave

That patch did the trick. GPSD is now working the way you described earlier.

Thomas
__________________
cagney is offline   Reply With Quote
Old 19-11-2012, 13:02   #145
Registered User

Join Date: Mar 2009
Posts: 83
Re: OpenCPN Beta Version 3.1.1105 Released

Hi Dave

Could you please provide an update on your development of the Radar application ?

What are the release plans for the next Beta of 'O' ?
__________________
dougwm10 is offline   Reply With Quote
Old 20-11-2012, 21:58   #146
Registered User

Join Date: May 2012
Posts: 12
Re: OpenCPN Beta Version 3.1.1105 Released

update to OpenCPN Beta Version 3.1.1105 Released. but own ship has lost.
I have only AIS connect to the lap.
Now in the connectings I added network .
Ais ship working good only own ship can not display.
Anyone can help me?
__________________
capt_wang is offline   Reply With Quote
Old 20-11-2012, 22:36   #147
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: OpenCPN Beta Version 3.1.1105 Released

Quote:
Originally Posted by capt_wang View Post
update to OpenCPN Beta Version 3.1.1105 Released. but own ship has lost.
I have only AIS connect to the lap.
Now in the connectings I added network .
Ais ship working good only own ship can not display.
Anyone can help me?

CaptWang,just to be clear: You clickedthe Red Boat in the toolbar (the Autofollow button) and there's no grey "target" or grey boat in the centre of the screen?

If not, youmight try the "MoveBoatHere" option you willfind by right-clicking where ever you would like Ownship to be . That might fix it easily.
__________________
HappySeagull is offline   Reply With Quote
Old 20-11-2012, 22:49   #148
Registered User

Join Date: May 2012
Posts: 12
Re: OpenCPN Beta Version 3.1.1105 Released

My own ship is display in grey and Dash board only can display my Lat & Long.
COG SOG HDG can not disply.
In old version own ship will display in red.
__________________
capt_wang is offline   Reply With Quote
Old 21-11-2012, 00:32   #149
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: OpenCPN Beta Version 3.1.1105 Released

Capt.Wang, as you know,you need to have an active gps position to have a red ownship. I am assuming from your post that your AIS has an integrated gps, so go to the Configuration settings and try to tweak these to work. Click on the loaded ais and a very interesting dialogue is below. Investigate these. This new Beta has a different connection dialogue and it needs testing. Report back on what you have tried. Also,please check the opencpn log for any error messages that might help us figure out what could be wrong.
__________________
HappySeagull is offline   Reply With Quote
Old 21-11-2012, 11:19   #150
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: OpenCPN Beta Version 3.1.1105 Released

...you got me interested and I thought I'd try .....

O seems to be breaking the bluetooth connection to a gps setup that used to work fine in earlier version.

I thought I'd try the new dialogue with two gpses going,and manipulate sentence choices but that experiment is not going to happen yet. ALSO, Not counting Windows+Bluetooth wackiness, a logical puzzlement is : What is the purpose of having two dialogues "Accept only Sentences" and "Ignore Sentences". Aren't they the same? apart from being opposites as to checked boxes that is...

added: the bluetoothgps can be got going in 3.1.919
__________________

__________________
HappySeagull is offline   Reply With Quote
Reply

Tags
opencpn

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 10:22.


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.