Cruisers Forum
 


Join CruisersForum Today

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 04-06-2010, 23:43   #676
Registered User

Join Date: Mar 2010
Location: Göteborg, Sweden
Boat: Seamaster 700
Posts: 96
Send a message via Skype™ to balp
Last CVS and libgpsd

Is no longer working with Ubuntu 10.04, the version for libgps miss match. Is there any great stuff we now need?
__________________

__________________
balp is offline  
Old 05-06-2010, 00:57   #677
Registered User

Join Date: Mar 2010
Location: Göteborg, Sweden
Boat: Seamaster 700
Posts: 96
Send a message via Skype™ to balp
Added a patch that works for me.

https://sourceforge.net/tracker/?fun...42&atid=894807
__________________

__________________
balp is offline  
Old 05-06-2010, 02:08   #678
Registered User
 
Netsurfer's Avatar

Join Date: Jan 2010
Location: Cologne, Germany
Boat: Beneteau Oceanis 331
Posts: 557
Build 604 - wrong calculation of Look Ahead in Course Up mode

Dave,

it seems that there is a fault in the calculation (or display) of the Look Ahead in Course Up mode feature (see screenshots).



As you can see the COG is 270° whereas the look ahead is like cruising 180° (90° error).
To my observations this happens in E <-> W directions (same on course 90°).
N <-> S seems to be laterally transposed (couldn't test directions between yet). So when COG is 0° the ship is positioned at the upper border of the chart window and vice versa.



Gunther

PS: Simulation with 9600 bps works fine.
__________________
Netsurfer is offline  
Old 05-06-2010, 02:45   #679
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Dave

File "VERSION.cmake" has not been updated to 604 in CVS.

Thomas
__________________
cagney is offline  
Old 05-06-2010, 03:34   #680
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Ingesting crash

Dave,
I found an ENC cell which crashes even the latest CVS code while ingesting. Opens normally in SeeMyEnc, nothing special in the log.

Pavel
Attached Thumbnails
Click image for larger version

Name:	ingesting_crash.jpg
Views:	84
Size:	427.1 KB
ID:	16712  
__________________
nohal is offline  
Old 05-06-2010, 03:56   #681
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
I find the same thing as netsurfer regarding lookahead.
Testing with the AIS simulator, I find that it works more like a "look behind" feature, perhaps just a sign error somewhere in the calculations. I have not tested on an E-W course.

And....Thanks Dave for another great beta release!

Thomas
__________________
cagney is offline  
Old 05-06-2010, 04:04   #682
Senior Cruiser
 
idpnd's Avatar

Cruisers Forum Supporter

Join Date: Sep 2007
Location: Almería, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,551
Quote:
Originally Posted by cagney View Post
And....Thanks Dave for another great beta release!
Yes RC as well.. Press release for 2.1.0 might be in order

Weird peak in downloads just now, must be an sf.net error?

2010-05-29 147
2010-05-30 213
2010-05-31 199
2010-06-01 53,765
2010-06-02 91,620
2010-06-03 163
2010-06-04 125
2010-06-05 22
__________________
sv Libertalia
idpnd is offline  
Old 05-06-2010, 04:35   #683
Registered User
 
Netsurfer's Avatar

Join Date: Jan 2010
Location: Cologne, Germany
Boat: Beneteau Oceanis 331
Posts: 557
Quote:
Originally Posted by cagney View Post
I find the same thing as netsurfer regarding lookahead.
Testing with the AIS simulator, I find that it works more like a "look behind" feature, perhaps just a sign error somewhere in the calculations. I have not tested on an E-W course.
Addition:
On COG 180° it works as expected (but only on bearing South) ...

Quote:
And....Thanks Dave for another great beta release!
and the new features!

Gunther
__________________
Deutschsprachige Community- und Support-Website unter OpenCPN.de
Netsurfer is offline  
Old 05-06-2010, 04:49   #684
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
No, not a bug report, just a few thing to think about before the next stable release.
Picture below shows a quilt between a gnomonic projection chart, to the left, that I have treated as a mercator chart, and a mercator chart to the right.
Gnomonic charts were BA standard for harbour plans and other large scale charts before a transition to tmercs started. A few of these are still around. If I had labeled the chart as "gnomonic" I suppose it would have been excluded from the quilt, but still rendered as a merc - Is this correct?
I just read the other day that most charts labeled as "Gnomonic" by BA actually were polyconic.(can't remember where I read it.)
I'm not sure we need to do much about these charts, but they do exist in the "wild".
Talking about Transverse Mercator charts (and UTM), I can't see any advantage for the navigator in this projection. I suppose it must be convenient for the chart maker to produce these charts. Anyone with any insights in this matter?

Toolbox => Own Ship Displayoption => Arrow length in minutes. I think that this option now defaults to 5 minutes. I suggest that this is changed to 6 minutes for easy calculation. The arrow distance will always be 1/10 of the distance that own ship covers in an hour. If you are doing 9 knots the arrow will be 0.9 miles long etc.
Of-course anyone can change this to their liking......just thinking about sensible defaults.

Thomas
Attached Thumbnails
Click image for larger version

Name:	gnomonic.png
Views:	83
Size:	329.8 KB
ID:	16715  
__________________
cagney is offline  
Old 05-06-2010, 06:00   #685
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Quote:
Originally Posted by balp View Post
Dave,
As balp found out, Network libgps is not displayed as a choice for NMEA Data Source, and gps on Linux with gpsd 2.9.4 is no longer working.
Unfortunately balps patch did not work for me.

Thomas
__________________
cagney is offline  
Old 05-06-2010, 07:16   #686
Registered User
 
manimaul's Avatar

Join Date: Feb 2008
Location: Seattle, WA
Posts: 416
@Thomas

I can't believer how fast you update the download page on opencpn.org including an rpm and deb for every build. You're an animal on all the documentation pages you've written in the wiki too. Amazing!, thanks.

-----------------------

@Gunther
Quote:
Originally Posted by Netsurfer View Post
Addition:
On COG 180° it works as expected (but only on bearing South) ...

and the new features!

Gunther
The compass always points North (Not course) ... With that realization in mind, I think you can see that it is working properly.

Will
__________________
Marine Navigation for Android:
http://mxmariner.com
manimaul is offline  
Old 05-06-2010, 09:02   #687
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
nohal/pavel....

Sorry, I cannot see which ENC file is failing. Can you give me the filename/source?

Thanks
Dave
__________________
bdbcat is offline  
Old 05-06-2010, 09:06   #688
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Cagney/thomas....

Did you get any dialog regarding lbgps version mismatch on the failure to find gpsd ? Did the cmake output indicate the the the libgps headers were found?

Thanks
Dave

p.s. looking at lookahead bug now. Obviously I did not do enough alpha testing....

Anybody else able to test 9600 baud with real hardware? I can't

Thanks
Dave
__________________
bdbcat is offline  
Old 05-06-2010, 10:34   #689
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Dave
Quote:
Cagney/thomas....

Did you get any dialog regarding lbgps version mismatch on the failure to find gpsd ? Did the cmake output indicate the the the libgps headers were found?
Nada! I cleaned out everything and started a clean new download and installation and tee:ed all output from my installation script to a file. Not a word about gpsd!!

In CMakeCache.txt I found
Quote:
//Enable GPSD Library
USE_GPSD:BOOL=OFF
I changed this to "ON" and ran "make" again.
I then saw this output...
Quote:
-- GPSD Library support: enabled
-- Found gps: /usr/lib/libgps.so
-- Building with libgps includes
Trying to run opencpn this time produced the dialog you asked for. Applying balps patch, recompiling again, and ...things just worked.

I haven't had time (yet) to check what caused the problem in the first place. It would be useful with a warning, if gpsd support was not enabled.

Thomas
__________________
cagney is offline  
Old 05-06-2010, 10:52   #690
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Thomas....

So, the cmake scipt did not find the libgps includes on its own.

The logic goes like this:

1. If cmake finds libgps include files, then opencpn will be built with libgps support.
2. if built with libgps support, then the entry "libgps" will be in the NMEA selector control, whether or not a usable libgps exists on the target system.
3. If the user selects libgps as NMEA source at run-time, and a usable libgps library is found (Balps version test patch needs to be included..), then all will be well. If the library is not found, or too old, a message is presented.

So, the question is: I did not change cmake script for Beta 604. Why did cmake fail to find the libgps headers this time?

Aha! I just thought of something. cmake is not reliable about its cache management. The search for libgps (and lots of other things)is cached from run-to-run. Mistakes are often made.....

I find it best to

Code:
$rm -f CMakeCache.txt
between cmake runs, especially if I have changed something.....

cmake has no built-in cli option to force a new cache. It can be done from windows gui. "Delete Cache" button is right there.

What were they (not) thinking?

Wondering....
Dave
__________________

__________________
bdbcat is offline  
Closed Thread

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCPN Version 1.3.5 Beta Technical bdbcat OpenCPN 544 24-03-2010 11:34
OpenCPN Version 1.3.6 Release bdbcat OpenCPN 32 30-01-2010 06:07



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 18:35.


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.