The Navigatrix has been updated. The new website can be found at navigatrix.net.




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: No depth sentence?

Joined: 22 Nov 2012, 00:33
Posts: 4
I had Polarcom working on Ubuntu 12 with a direct connection to the USB/serial converter. I had GPS information and depth from my Garmin GPSMAP working. But running Navigatrix and using Polarcom via GPSD I still have GPS information but it is not receiving the Depth (DBT) and Odometer (ODO) information anymore.

Any suggestions on how to restore this? I'll be adding a wind instrument soon, which hopefully the GPS will relay

The trackpad on my Dell Mini 10v netbook seems not to work properly, and I miss the slick interface of the latest Ubuntu for general computing, but having essential navigation things work properly is more important and I'm a little closer.


Top
   
 
 Post subject: Re: No depth sentence?

Joined: 22 Nov 2012, 00:33
Posts: 4
http://old.nabble.com/String-coming-fro ... 28324.html

This describes my problem, don't really understand the solution.


Top
   
 
 Post subject: Re: No depth sentence?

Joined: 22 Nov 2012, 00:33
Posts: 4
I just read an encouraging post that says that gpsd supports SDDBT sentence since March of this year. Now I need to figure out how to update since the version in Navigatrix seems to be from 2011.


Top
   
 
 Post subject: Re: No depth sentence?

Joined: 04 Nov 2010, 20:51
Posts: 1062
I understand graphic pizazz as a siren's song. It helps to have the hardware so it doesn't become a burden when you just want the information without the presentation. Sometimes it's hard to find the balance.

I'm also a real big fan of gpsd. It is a very sophisticated bit of software. But sometimes its sophistication can be a problem.

NMEA is dropping, or already has dropped some sentences from its protocol and the gpsd might not be parsing that data. Let's see if the information you seek is in the data stream.

Open a terminal (<ctrl><alt><t>) and enter:

Code:
gpspipe -n 40 -R> Desktop/GPS_Output


This will put 40 lines of gpsd output into a text file on your desktop.

Open the text file and see if the NMEA sentence you need made it through the gpsd.


Top
   
 
 Post subject: Re: No depth sentence?

Joined: 04 Nov 2010, 20:51
Posts: 1062
Saqqara wrote:
I just read an encouraging post that says that gpsd supports SDDBT sentence since March of this year. Now I need to figure out how to update since the version in Navigatrix seems to be from 2011.


The latest version of Navigatix uses gpsd 2.95 which was the 'best practice' version at the time of the release.

If you are using Navigatrix on a USB stick you are using a mode called "LiveCD". While it is possible to modify the content of a LiveCD for the most part it is not worth the hassle.

If you've installed Navigatrix on your hard drive...then modification and updating is an easier matter...although not without the potential for problems.

Accessing source code for the newest version of gpsd is easy. However, the new gpsd requires updated tools to build it that are not readily compatible with Long Term Support version on which Navigatrix is based (python >= 2.7.1, scons >= 2.0.1). I've not checked if a pre-compiled debian package of a newer version would meet all the dependency requirements.

...then there is the question, "What will break?" when a new version is wedged in to the system.

Normally curiosity gets the better of me and I would give it a go. Unfortunately, experience of being in a location with marginal internet access and gearing to head off on another passage in a few days tells me it will have to wait.

Experience also tells me those more capable of addressing this question are either working, off cruising, or prudently silent....but eventually this will be addressed.


Top
   
 
 Post subject: Re: No depth sentence?

Joined: 22 Nov 2012, 00:33
Posts: 4
Thanks for your suggestions, I won't be untying from the pier anytime soon so no risk if I mess anything up.


Top
   
 
 Post subject: Re: No depth sentence?

Joined: 04 Nov 2010, 20:51
Posts: 1062
If you are looking to put gpsd3.7 on your machine. GPSD3.7 also requires libgps20. If you build it will be there. The packages are individual so you would need to download it as well.

However, it will be an educational journey. The ready-made package(s) requires libc6 >= 2.15. I think this breaks many things. It might not be worth the effort.

On the other hand, the literature for gpsd3.7 doesn't say anything about libc6 needing to be anything. But the literature also says gpsd will build with python2.5 and run with python2.6+.

To add to the confusion it's not entirely true. TO build 3.7 you need SCons >= 2.0.1; which requires python2.7something to install. You might get away with building SCons from source and side stepping the python2.7 problem...but then you have to build SCons from source.

My recommendation is to install python2.7 by hook or by crook. You might have to edit /etc/apt/sources.list; changing "lucid" to "Oneiric"...or "Maverick". Reload your repositories. Install python2.7 and SCons while you're at it.

Because if you install python2.7 from an egg, or similar method I think there is not the marker for the SCons package to 'know' that the python is updated. I don't know.


Change /ect/apt/sources.list back to what it was...reload before you forget. I heard it happens.

Build and install gpsd3.7 and see if it works. What's the worst that could happen?

While you're at it pick up OpenCPN 3.1.1105 it's beta, but you're adventurous. It also requires libtinyxml which can be found around. They fixed some bad (IMO fatal) display bugs; fix the gpsd thingy that had me bent for two years. All around an improvement....oh, and if you do, you need to edit the script "opencpngnuais" to point to the changed location.

Good luck.


Top
   
 
 Post subject: Re: No depth sentence?

Joined: 04 Nov 2010, 20:51
Posts: 1062
Ok, the winds went light and we didn't leave. I did, however head into town for a good internet connection.

The bad news is that I failed to put in gpsd 3.7. The good news is I am getting faster at rebuilding my system after I completely screw it up.

I'm not saying it can't be done or that you can't do it. I just wasn't able to do it...twice. I did learn some things and maybe third time is a charm...but for certain it will have to wait.

Since you stated you were getting data in Ubuntu 12something....in the interim you might want to look at http://marinux.pk973.org/#MUPLEX it was referenced in http://navigatrix.net/viewtopic.php?f=7&t=258.

This would take care of any multiplexing that the gpsd does (except for integration of your gps into the system) and it doesn't mean the module (driver) for your gps will be taken care of...but if you really want depth above all else...you can handle that.

To make it work and not have conflicts with the gpsd, the gpsd should be turned off from starting automagically.

sudo dpkg-reconfigure gpsd

...and then read the screen and follow the prompts.

Good luck....let us know the good, bad, and the ugly....


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


Search for:
cron

Credits © 2010 - 2024