Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 29-12-2017, 12:45   #61
Registered User

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

Quote:
Originally Posted by transmitterdan View Post
I think there is some kind of new bug in the look ahead feature. If I turn off look ahead mode the ship is stable in the center of the screen and the chart does not jump around. But if I turn on look ahead mode and turn on head up mode the chart jumps around back and forth sideways even for tiny ship movements. It is really annoying.
On win10 VS 2013
Dan.. I can't reproduce this. I always use lock ahead mode. The function is as is use to be for me. Both in head up and north up.
But I'm running simulation only. One VDR from live GPS and one own simulation.
Now on board while moored there is a jumping around some meters but that's as it use to be.

The chart is always moving a little from side to side that's nothing new and it would of course be fine to get rid of that.

Håkan
__________________

Hakan is offline   Reply With Quote
Old 29-12-2017, 16:22   #62
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 4,536
Re: OCPN Beta 4.8.1 PreAlpha

Quote:
Originally Posted by Hakan View Post
On win10 VS 2013
Dan.. I can't reproduce this. I always use lock ahead mode. The function is as is use to be for me. Both in head up and north up.
But I'm running simulation only. One VDR from live GPS and one own simulation.
Now on board while moored there is a jumping around some meters but that's as it use to be.

The chart is always moving a little from side to side that's nothing new and it would of course be fine to get rid of that.

Håkan
Thanks for looking at this. If you try North Up mode does it behave differently?
__________________

transmitterdan is online now   Reply With Quote
Old 29-12-2017, 18:13   #63
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 4,536
Re: OCPN Beta 4.8.1 PreAlpha

This is a short video of my screen with O running in look ahead / north up mode. I cannot understand why the ship's position on the screen jumps around.

https://1drv.ms/v/s!Ahh4-68oWChagaMC6PKYEd_hcEpuIA
transmitterdan is online now   Reply With Quote
Old 29-12-2017, 20:01   #64
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: chesapeake bay
Boat: bristol 27
Posts: 3,344
Re: OCPN Beta 4.8.1 PreAlpha

Quote:
Originally Posted by Hakan View Post
Dave.. Sean..
I've isolated this bug to commit 72f4fc2 "Merge pull request #927 from seandepagnier/memory_consumption_4"

The crash is when " pSelect->AddAllSelectableRouteSegments( m_pSelectedRoute );" shall execute. Both from right menu and route dialog.
i.e. canvasMenu.cpp and the same function in routmanagerdialog.cpp
The row from canvasMenu is marked on attached picture.

I'm sorry but I can't point out what's wrong. Some class was changed?
The debug error is "Access violation reading....."
I reproduced it.. I think I fixed it
https://github.com/OpenCPN/OpenCPN/pull/946
boat_alexandra is offline   Reply With Quote
Old 30-12-2017, 00:55   #65
Registered User

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

Sean..
Thanks, the crash is fixed.
Håkan
Hakan is offline   Reply With Quote
Old 30-12-2017, 01:24   #66
Registered User

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

Quote:
Originally Posted by transmitterdan View Post
Thanks for looking at this. If you try North Up mode does it behave differently?
Dan..
I see no significant difference in North or course -up.
Since my replay has diagonal course in north up (~30 degr.) there's a left/right chart movement. I would say that "jumping" may come from that the movement first make the forward part and then the side part instead of one diagonal movement? (I havn't read the code so I'm guessing.)

For some reason I couldn't read your video so I can't judge if you've more jumping. But playing this old VDR https://www.dropbox.com/s/jc872vqze5...fjord.txt?dl=0 render a side jumping of maximum five mm at scale ~10 000 on a 14" 1366x768 screen. Maybe you can test for comparison?
Håkan
Hakan is offline   Reply With Quote
Old 30-12-2017, 04:40   #67
Registered User

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

Auto follow and "jumping" viewpoint.
The jumpy/restless chart is of course disturbing but I can't say it's a new behavior. When I claim it's not a problem it may be due to I've always used the function and are so to say used to the jumping.

The best would be if the chart was more stable, that's true. Could the code be adapted to smoothen the chart movements instead of a step change on every new GPS position? We could allow the boat symbol to move a little on the canvas even in auto follow mode? Could the course up update period setting be used to control also the north up mode?
I'm speculating only in order to push ideas coming up in someones head. How to smoothen the SetViewPoint( zLat, zLon,..........) function when gLat/gLon are used?? (If that's the correct function)
Håkan
Hakan is offline   Reply With Quote
Old 30-12-2017, 04:48   #68
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 4,536
OCPN Beta 4.8.1 PreAlpha

What I can't figure out is why the ship's location on the viewport moves so much for little or no actual movement of position or COG.
transmitterdan is online now   Reply With Quote
Old 30-12-2017, 04:51   #69
Registered User

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

And BTW:
All my discussion in last post is about when "look Ahead" mode is active. That's also one of my "always use" habits.
In not-look ahead mode the chart movements are already more stable.
Håkan
Hakan is offline   Reply With Quote
Old 30-12-2017, 04:53   #70
Registered User

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

Dan..
Agree. Please try to figure out
Hakan is offline   Reply With Quote
Old 30-12-2017, 07:18   #71
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 4,536
Re: OCPN Beta 4.8.1 PreAlpha

Hakan,

I think I know what it is. When follow ship, offset mode, look ahead mode and north up mode are all turned on the goal of the look ahead is to position the ship about 2/3 away from the farthest point directly ahead of the ship. Because the screen is a rectangle the ship's position on the screen keeps changing since the farthest point ahead is changing rapidly. I think there may be an easy solution. Will investigate.
transmitterdan is online now   Reply With Quote
Old 30-12-2017, 09:27   #72
Registered User
 
rooiedirk's Avatar

Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 375
Re: OCPN Beta 4.8.1 PreAlpha

The Grib PI is now looking for the most recent .grb file. This is nice, however it does only so at startup of OpenCPN. Would be even more usefull if it did so before opening the Grib PI window.
__________________
Navigation is know where you are and what to do to get where you want.
But also: Know where you don't want to be and what to do to don't get there.
rooiedirk is offline   Reply With Quote
Old 30-12-2017, 10:25   #73
Registered User

Join Date: May 2012
Posts: 495
Re: OCPN Beta 4.8.1 PreAlpha

Problems with Win10, VS2013 building 4.8.1

1>chartdldr_pi.obj : error LNK2001: unresolved external symbol "int const wxEVT_DOWNLOAD_EVENT" (?wxEVT_DOWNLOAD_EVENT@@3HB)
1>D:\plugins\4.8.1\OpenCPN\build\plugins\chartdldr _pi\Release\chartdldr_pi.dll : fatal error LNK1120: 1 unresolved externals

Ptizef in
Building Opencpn using mingw (gcc) on Windows made an extern definition.
How is this done? Is it needed?

Lots of warnings about wxEvent associated with ocpn_plugin.h.

"D:\plugins\4.8.1\OpenCPN\build\opencpn.vcxpro j" (default target) (15) ->
(Link target) ->
expat.lib(expat.dll) : error LNK2005: _XML_ParserCreate already defined in wxexpat.lib(xmlparse.obj) [D:\plugins\4.8.
1\OpenCPN\build\opencpn.vcxproj]
expat.lib(expat.dll) : error LNK2005: _XML_SetElementHandler already defined in wxexpat.lib(xmlparse.obj) [D:\plugins
\4.8.1\OpenCPN\build\opencpn.vcxproj]
expat.lib(expat.dll) : error LNK2005: _XML_SetCharacterDataHandler already defined in wxexpat.lib(xmlparse.obj) [D:\p
lugins\4.8.1\OpenCPN\build\opencpn.vcxproj]
expat.lib(expat.dll) : error LNK2005: _XML_SetCommentHandler already defined in wxexpat.lib(xmlparse.obj) [D:\plugins
\4.8.1\OpenCPN\build\opencpn.vcxproj]
expat.lib(expat.dll) : error LNK2005: _XML_SetDefaultHandler already defined in wxexpat.lib(xmlparse.obj) [D:\plugins
\4.8.1\OpenCPN\build\opencpn.vcxproj]

To get round this I had to remove this linker input in the opencpn project:

..\..\..\buildwin\expat-2.1.0\expat.lib

It seems as if we have two libs trying to do the same job ... the one in buildwin and the other in wxWidgets wxexpat.lib

This happens on a relatively clean box with a first build of OpenCPN and freshly installed helper programs like CMake etc.

Mike
Rasbats is offline   Reply With Quote
Old 30-12-2017, 10:57   #74
Registered User

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

TransmitterDan...
Very well! Sounds nice you'll try. I look forward to any tests or discussion.
A new thread on next message to not interfere to much here?
Håkan
Hakan is offline   Reply With Quote
Old 30-12-2017, 13:05   #75
Registered User

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

On Win10
> Reversed track renaming of WP's when OpenGL is on; Now fixed.
Håkan
__________________

Hakan is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
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



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 14:05.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.