Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-02-2013, 13:43   #1
Registered User

Join Date: Feb 2013
Posts: 3
AIS-receiver not working in OpenCPN under Navigatrix

I have recently installed Navigatrix on an Acer Aspire One. Additionally I have tried to make an Advansea RX-100 AIS receiver work with OpenCPN. There is also a GPS attached, which is multiplexed via the RX-100. The RX-100 is connected to an USB-port of the Acer Aspire.
With the GPS set to 'Network LIBGPS' and 4800 baud, the GPS signal comes through and a position is shown by OpenCPN on the map.
In the AIS-toolbox window no USB-port is shown. There is als no baud-rate setting available. I've tried every one of the 7 ports, but no AIS-info shows on the map.
Changing the GPS-toolbox settings to 38400 baud and setting the data source to 'AIS-port shared' results in losing the GPS-signal, but still no AIS-info is shown on the map.
The strange thing is that xgps (also in the Navigatrix-package) DOES show AIS-information of ships in my vicinity, with names, positions etc.

I have with the RX-100 a CD which contains a driver for Linux (ftdi_sio). Is it absolutely necessary to install this driver to get OpenCPN to recognize the RX-100?
It's strange xgps can do the trick without a driver. It sees AIS-targets as well as GPS-satellites.

How can OpenCPN be brought to recognize the RX-100 without losing the GPS-signal?
__________________

__________________
hansvalk is offline   Reply With Quote
Old 05-02-2013, 21:40   #2
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,018
Re: AIS-receiver not working in OpenCPN under Navigatrix

hansvalk...
You don't need the driver at all if xgps works without it (FTDI chips are known to have pretty good support in the Linux kernel out of the box). The correct config in this case should be setting the AIS port (the AIS baudrate is always 38400) and using 'AIS-port shared' for the GPS.
You can get the correct port by issuing
Code:
dmesg
in the terminal after you attach the RX-100 to your computer.
Your problem is probably related to GPSD launched automatically when the device is inserted and recognized. Older OpenCPN versions up to 3.0.2 then can get the GPS info from it, but not AIS.
You have basically two options:
1) stop GPSD and do the setup with the USB port you discover in dmesg output (you can write into that box in the toolbox, so it's not that important if the port does not get detected and put into the list automatically, which is the case for some new schools port names).
2) Upgrade to OpenCPN 3.1.1328 (or .1405 due to be out in the next 24 hours) release candidate which has the data input code rewritten to support scenarios like this much better. There should be no problem upgrading as Navigatrix is just another Ubuntu clone AFAIK (of course if you are not running it from a CD or another read-only media).

Pavel
__________________

__________________
nohal is offline   Reply With Quote
Old 08-02-2013, 08:26   #3
Registered User

Join Date: Feb 2013
Posts: 3
Re: AIS-receiver not working in OpenCPN under Navigatrix

Quote:
Originally Posted by nohal View Post
You have basically two options:
1) stop GPSD and do the setup with the USB port you discover in dmesg output (you can write into that box in the toolbox, so it's not that important if the port does not get detected and put into the list automatically, which is the case for some new schools port names).
2) Upgrade to OpenCPN 3.1.1328 (or .1405 due to be out in the next 24 hours) release candidate which has the data input code rewritten to support scenarios like this much better. There should be no problem upgrading as Navigatrix is just another Ubuntu clone AFAIK (of course if you are not running it from a CD or another read-only media).

Pavel
Hello Pavel,

I think I will try the last option. GPSD (and xgps) is useful as it shows a list of AIS-targets and GPS-data. I like to keep that.
Thanks for thinking for me. I'll be back with you later.

--
greeting from The Netherlands.
Hans Valk
__________________
hansvalk is offline   Reply With Quote
Old 08-02-2013, 09:30   #4
Registered User

Join Date: Feb 2013
Posts: 3
Re: AIS-receiver not working in OpenCPN under Navigatrix

Quote:
Originally Posted by hansvalk View Post
I think I will try the last option. GPSD (and xgps) is useful as it shows a list of AIS-targets and GPS-data. I like to keep that.
Thanks for thinking for me. I'll be back with you later.
Well, I did the upgrade, all according to what is said about installing the beta versions.
First added ppa:nohal to the software sources and then upgraded using the package manager. I downloaded the version for other Ubuntu's, as I don't think Navigatrix uses 12.04.

The funny thing is: although OpenCPN is still shown in the toolbar and in the manta-menu it won't start by clicking on it.

Should I get rid of Navigatrix?
__________________
hansvalk is offline   Reply With Quote
Old 09-02-2013, 07:13   #5
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: AIS-receiver not working in OpenCPN under Navigatrix

I am also not receiving any AIS signals on OPENCPN the past two days from my SR162
receiver although there is plenty of traffick in my area? v. 3.1.1328

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 09-02-2013, 08:27   #6
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,018
Quote:
Originally Posted by hansvalk View Post

Well, I did the upgrade, all according to what is said about installing the beta versions.
First added ppa:nohal to the software sources and then upgraded using the package manager. I downloaded the version for other Ubuntu's, as I don't think Navigatrix uses 12.04.

The funny thing is: although OpenCPN is still shown in the toolbar and in the manta-menu it won't start by clicking on it.

Should I get rid of Navigatrix?
Can you try to remove your config file an run again? (/home/YOURUSERNAME/.opencpn/opencpn.conf)
If it won't help, please post the logfile from the last session (opencpn.log in your home - just the last part is what we need to see)
Navigatrix is indeed fine and I like the idea, but it suffers from the lack of manpower I would say. Not that we don't know this very well here

Pavel
__________________
nohal is offline   Reply With Quote
Old 16-02-2013, 07:50   #7
Registered User

Join Date: Jul 2011
Location: Northern California
Boat: Islander 30 Mk II
Posts: 43
Re: AIS-receiver not working in OpenCPN under Navigatrix

I've been able to use VSPE as an internet AIS source (hd-sf.com:9009) with success on a Windows system. The AIS RADAR plugin isn't showing anything though. (I haven't a GPS source so perhaps that is the issue.) One note - after terminating the AIS source all the displayed AIS icons continue on indefinitely. This could be a disastrous situation if the user didn't notice the loss of AIS ship movement.
__________________
cowelld is offline   Reply With Quote
Old 17-02-2013, 04:00   #8
Registered User

Join Date: Feb 2011
Location: uk
Posts: 75
Re: AIS-receiver not working in OpenCPN under Navigatrix

have you tried

settings / ships/ais targets/lost targets.

chose an appropriate time length.
__________________
yachtman is offline   Reply With Quote
Old 17-02-2013, 09:57   #9
Registered User

Join Date: Jul 2011
Location: Northern California
Boat: Islander 30 Mk II
Posts: 43
Re: AIS-receiver not working in OpenCPN under Navigatrix

I suddenly have that dumb feeling. Thanks for pointing out the feature. I didn't wait long enough for the time-out to take effect. I figure the defaults must be 8 and 10 minutes which would be a little over a mile and half at six knots. I guess that's reasonable if AIS ranges are twenty plus but close if the CPA warning is at two miles. It'd be better still if there was a message about loosing AIS data after the timeout.
Thanks again.
__________________
cowelld is offline   Reply With Quote
Old 17-02-2013, 11:35   #10
Registered User

Join Date: Feb 2011
Location: uk
Posts: 75
Re: AIS-receiver not working in OpenCPN under Navigatrix

supose there is as targets get a black line through them

strangely when using my digital yacht ais, and using it for own ship position, it tends to be instantly visible when there is a data out, as the top right gps goes red and the ship, grey/ black.
__________________
yachtman is offline   Reply With Quote
Old 29-04-2013, 12:31   #11
Marine Service Provider
 
wadda's Avatar

Join Date: Jul 2010
Location: Sydney
Boat: Allied Mistress 39'
Posts: 89
Re: AIS-receiver not working in OpenCPN under Navigatrix

Quote:
Originally Posted by nohal View Post
<snip> There should be no problem upgrading as Navigatrix is just another Ubuntu clone AFAIK (of course if you are not running it from a CD or another read-only media).

The new .deb packages for OpenCPN has changed locations of some of the files.

In Navigatrix a blind upgrade of OpenCPN will break configurations as the upgrade moves some files. Additionally it replaces others that no longer point in the right direction.

This is less of a problem if someone gets the AIS information from a source that is not the soundcard. But it must be hand hacked for the soundcard signal to get through with the new layout.
__________________
wadda is offline   Reply With Quote
Old 29-04-2013, 12:59   #12
Marine Service Provider
 
wadda's Avatar

Join Date: Jul 2010
Location: Sydney
Boat: Allied Mistress 39'
Posts: 89
Re: AIS-receiver not working in OpenCPN under Navigatrix

I've just worked my way backwards through the posts.

The problem, it seems, is the version of OpenCPN in the Navigatrix release cannot demux the AIS data from the GPSD.

Since you are not using a modified VHF radio via your soundcard for AIS, a new version of OpenCPN might resolve your problem.

The Navigatrix Support Form ( http://navigatrix/support.php ) is the place to go for solutions.
__________________

__________________
wadda is offline   Reply With Quote
Reply

Tags
ais, 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:02.


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.