Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 01-01-2018, 18:55   #91
Registered User
 
Viking Sailor's Avatar

Join Date: Nov 2006
Location: San Francisco Bay
Boat: Fantasia 35
Posts: 1,251
Re: OCPN Beta 4.8.1 PreAlpha

Quote:
Originally Posted by Hakan View Post
Viking..
That's not feasible as I see it. The code for both is and have "ever" been the same. The discussion here is just to make a proper explanation so that the user is correct informed and can fully use OCPN's features. There's no functional advantage to split them.
Håkan
Håkan,

We are talking about functionality implemented in C++ code here. Why would it not be "feasible" to break it out into a function that can be used independently for both operations? I mean unless the code is such a mess that the functionality can't even be defined. (Oh! Did I just answer my own question?)

As for the advantage of splitting these two operations -- it is just good software design and implementation to not restrict the users ability to control how the program operates. Of course, you can always wait for the inevitable bug report when a user finds a conflict between these operations.

Paul
Viking Sailor is offline   Reply With Quote
Old 01-01-2018, 21:19   #92
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,396
Re: OCPN Beta 4.8.1 PreAlpha

Hello...

And the winner is:

"Chart Rotation Averaging Time".

It conveys (to me, at least), what the code is doing, and what the expected effect on screen might be.

Thanks for all the input
Dave
bdbcat is offline   Reply With Quote
Old 02-01-2018, 07:05   #93
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: OCPN Beta 4.8.1 PreAlpha

Added "Chart Rotation Averaging Time". (new title) in FAQ and Options>Display>Advanced until we get some new screenshots.
rgleason is offline   Reply With Quote
Old 02-01-2018, 07:28   #94
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,142
Re: OCPN Beta 4.8.1 PreAlpha

Quote:
Originally Posted by rgleason View Post
Added "Chart Rotation Averaging Time". (new title) in FAQ and Options>Display>Advanced until we get some new screenshots.
Rick..
Very good. May I suggest some more info? See my Italic text below. Pls edit to pure English.
Håkan

Quote:
Chart Rotation Averaging Time (New Title from version 4.8.1) This relates to how often the entire displayed chart is updated when Look Ahead and/or Course-Up mode are activated. The Own Ship and AIS icons are still updated every second. The default value is 15 seconds. A “zero” value is allowed! The default up mode is North-up. It's easy to switch between North-Up and Course-Up modes through the right-click menu or the GPS status icon https://opencpn.org/wiki/dokuwiki/do...ps_status_icon.
Hakan is offline   Reply With Quote
Old 02-01-2018, 10:50   #95
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: OCPN Beta 4.8.1 PreAlpha

Hakan, Thanks much better See Chart Display

and FAQ "Using "Follow Ship Offset" and "Look Ahead" and "North up" Modes, the chart jumps too much."

--Any suggestions here?
rgleason is offline   Reply With Quote
Old 04-01-2018, 05:25   #96
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,142
Re: OCPN Beta 4.8.1 PreAlpha

At RPi:; Rasbian Jessie. Todays fetch and build.
O builds and run just fine but I saw these make notes, I think, for the first time. Is it antything I would take care of?
Håkan

-- Cairo Extra Libraries: /usr/lib/arm-linux-gnueabihf/libpangocairo-1.0.so/usr/lib/arm-linux-gnueabihf/libpangoft2-1.0.so/usr/lib/arm-linux-gnueabihf/libpangoxft-1.0.so/usr/lib/arm-linux-gnueabihf/libgdk_pixbuf-2.0.so
-- Could NOT find EXIF (missing: EXIF_LIBRARY EXIF_INCLUDE_DIR)
-- Building against GTK2...
-- Could NOT find LibLZMA (missing: LIBLZMA_INCLUDE_DIR LIBLZMA_LIBRARY LIBLZMA_HAS_AUTO_DECODER LIBLZMA_HAS_EASY_ENCODER LIBLZMA_HAS_LZMA_PRESET)
-- lzma library not found
-- Building with tinyxml includes
-- S57 ENC support: enabled
-- Garmin Host Mode support: enabled
CMake Warning at CMakeLists.txt:1936 (MESSAGE):
Did not found LibELF, plugin compatibility check will be simplified.
Hakan is offline   Reply With Quote
Old 04-01-2018, 05:38   #97
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,207
Re: OCPN Beta 4.8.1 PreAlpha

Hakan...
You may want to install liblzma-dev (this one actually was there for a long time, but maybe broken on ARM and now fixed. If liblzma is detected, support for compressing your charts on disk to save space is enabled.)
and libexif-dev (Adds some features we currently don't need to the SVG parser, but as the upstream implemented them and I was merging the updates...)

Pavel
nohal is offline   Reply With Quote
Old 04-01-2018, 05:39   #98
mrm
Registered User

Join Date: Feb 2011
Location: Poland, EU
Boat: crew on Bavaria 38 Cruiser
Posts: 654
Re: OCPN Beta 4.8.1 PreAlpha

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

And the winner is:

"Chart Rotation Averaging Time".

It conveys (to me, at least), what the code is doing, and what the expected effect on screen might be.

Thanks for all the input
Dave
May I humbly submit "Chart rotation smoothing" for consideration?
Less technical and more informative of _what_ it does instead of _how_.
mrm is offline   Reply With Quote
Old 04-01-2018, 06:15   #99
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: OCPN Beta 4.8.1 PreAlpha

@Mrm: I've added that term to FAQ and Advanced display wiki, thanks.
https://opencpn.org/wiki/dokuwiki/do...jumps_too_much
rgleason is offline   Reply With Quote
Old 04-01-2018, 12:02   #100
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: OCPN Beta 4.8.1 PreAlpha

Pavel

Downloaded the latest from git 10 minutes ago.
Las commit:

"Fix leaks from orphaned Toolbox GUI elements "

Problems with compilation...
Code:
......
[ 39%] Building CXX object CMakeFiles/opencpn.dir/src/options.cpp.o
/usr/bin/c++   -DLINUX_CRASHRPT -DOCPN_HAVE_X11 -DOCPN_USE_PORTAUDIO -DTIXML_USE_STL -DUSE_GARMINHOST -DUSE_LZMA -DUSE_RENDER_CAIRO -DUSE_S57 -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__OCPN_USE_CURL__ -D__WXGTK__ -DocpnUSE_GL -DocpnUSE_SVG -I/home/thomas/Sailing/OpenCPN/OpenCPN/src/mygdal -isystem /usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -isystem /usr/include/wx-3.0 -I/home/thomas/Sailing/OpenCPN/OpenCPN/include -I/home/thomas/Sailing/OpenCPN/OpenCPN/src -I/home/thomas/Sailing/OpenCPN/OpenCPN/src/wxcurl -I/usr/include/cairo -I/home/thomas/Sailing/OpenCPN/OpenCPN/src/wxsvg/include/wxSVG -I/home/thomas/Sailing/OpenCPN/OpenCPN/src/wxsvg/include/wxSVGXML -I/home/thomas/Sailing/OpenCPN/OpenCPN/src/wxsvg/include -I/home/thomas/Sailing/OpenCPN/OpenCPN/src/wxsvg/src -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/home/thomas/Sailing/OpenCPN/OpenCPN/src/nmea0183 -I/home/thomas/Sailing/OpenCPN/OpenCPN/src/garmin/jeeps -I/home/thomas/Sailing/OpenCPN/OpenCPN/src/texcmp/lz4 -I/home/thomas/Sailing/OpenCPN/OpenCPN/src/texcmp/squish -I/home/thomas/Sailing/OpenCPN/OpenCPN/build/CMakeFiles/include  -pthread   -Wall -Wno-unused -fexceptions -rdynamic  -g -fno-strict-aliasing  -DPREFIX=\"/usr/local\" -o CMakeFiles/opencpn.dir/src/options.cpp.o -c /home/thomas/Sailing/OpenCPN/OpenCPN/src/options.cpp
/home/thomas/Sailing/OpenCPN/OpenCPN/src/options.cpp: In member function ‘void options::Init()’:
/home/thomas/Sailing/OpenCPN/OpenCPN/src/options.cpp:1014:13: error: no match for ‘operator=’ (operand types are ‘wxFont’ and ‘int’)
   smallFont = 0;
             ^
In file included from /usr/include/wx-3.0/wx/font.h:523:0,
                 from /usr/include/wx-3.0/wx/window.h:23,
                 from /usr/include/wx-3.0/wx/wx.h:38,
                 from /home/thomas/Sailing/OpenCPN/OpenCPN/src/options.cpp:30:
/usr/include/wx-3.0/wx/gtk/font.h:16:24: note: candidate: wxFont& wxFont::operator=(const wxFont&)
 class WXDLLIMPEXP_CORE wxFont : public wxFontBase
                        ^
/usr/include/wx-3.0/wx/gtk/font.h:16:24: note:   no known conversion for argument 1 from ‘int’ to ‘const wxFont&’
CMakeFiles/opencpn.dir/build.make:1505: recipe for target 'CMakeFiles/opencpn.dir/src/options.cpp.o' failed
make[2]: *** [CMakeFiles/opencpn.dir/src/options.cpp.o] Error 1
make[2]: Leaving directory '/home/thomas/Sailing/OpenCPN/OpenCPN/build'
CMakeFiles/Makefile2:466: recipe for target 'CMakeFiles/opencpn.dir/all' failed
make[1]: *** [CMakeFiles/opencpn.dir/all] Error 2
make[1]: Leaving directory '/home/thomas/Sailing/OpenCPN/OpenCPN/build'
Makefile:152: recipe for target 'all' failed
make: *** [all] Error 2
Thomas
cagney is offline   Reply With Quote
Old 04-01-2018, 12:06   #101
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,207
Re: OCPN Beta 4.8.1 PreAlpha

Fixed.

Pavel
nohal is offline   Reply With Quote
Old 04-01-2018, 12:24   #102
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: OCPN Beta 4.8.1 PreAlpha

If the machine can support it, if the chart is rotated and redisplayed at 25 frames a second with sufficient filtering of the heading, it could provide a smooth usable display for course up, and would allow look ahead mode.

I agree that we need to do something about the look ahead mode. Probably the easiest is to not move the chart at all until the ship exits a rectangle set around it which is reset when the chart does move.
seandepagnier is offline   Reply With Quote
Old 04-01-2018, 12:38   #103
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: OCPN Beta 4.8.1 PreAlpha

Sean, how's your firewood holding up? We were concerned. Where did you get the internet!
rgleason is offline   Reply With Quote
Old 04-01-2018, 13:45   #104
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: OCPN Beta 4.8.1 PreAlpha

Dave, Pavel, I don't know if you noticed it, but tracker seems to be misbehaving. Lots of extraneous text, or is just my browser (I've cleared the cache twice.)?

PS: I wonder if this is due to the upgrade to PHP 5.6 for the User Documentation?
If so, perhaps we need to run a different version on Tracker?
rgleason is offline   Reply With Quote
Old 04-01-2018, 13:50   #105
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,207
Re: OCPN Beta 4.8.1 PreAlpha

Rick..
Yes, you already posted it elsewhere (and as usually there is absolutely no need to do it twice, we do listen to you).
Seems like a PHP upgrade on the server changed the config and "& ~E_STRICT" has to be added to the error_reporting line in php.ini.
Nothing you or me can do about it.

Pavel
nohal is offline   Reply With Quote
Reply


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
OCPN Beta Version 4.1 PlugIns bdbcat OpenCPN 5 28-09-2015 05:44
How to use MMR2-C-Map card reader with OCPN ? Flemming Torp OpenCPN 6 28-05-2012 08:39
Pictures of OCPN in action. cagney OpenCPN 0 03-04-2012 09:16
Furuno and OCPN KrisCatteceur Navigation 2 12-01-2012 13:04
Does OCPN support NMEA 0183 v3.1? Netsurfer OpenCPN 5 25-05-2010 07:42

Advertise Here


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


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.