|
|
10-07-2012, 16:52
|
#31
|
Registered User
Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,731
|
Re: Free Routing Software
maitai..
Thank you, I am in and had a quick look around.. VERY INTERESTING..
Especially if you care to read the following thread about our wish for a dead reckoning module/plugin for OpenCPN,our developing navigations software.
http://www.cruisersforum.com/forums/...cpn-82864.html
Your Routing Software comes a long way to cover our needs and I would be very interested to know if you and your fellow developers jointly could add the features described below,in order to do ´real simulations´ over routes created by the user.
Perhaps a ´cross over´module could be devised when the GPS system of OpenCPN stops working,continuing in YOUR program from the last known position,course and speed until GPS connection is restored and the journey continues in OpenCPN from the new GPS position.
The bottom line is,we need a way to automatically continue on dead reckoning from the last known GPS position provided by OpenCPN and continue with the same speed and course,setting waypoints at user defined intervals,showing lat/lon position,date and time.
Or,as another OpenCPN user suggested:
Quote:
Re: Dead Reckoning Plugin for OCPN
Rather than a DR plug-in wouldn't it be simpler to put a small program on the COM port that reads the GPS data and passes it along to OpenCPN as long as the GPS is functioning but supplies DR data if GPS input is lost?
When the GPS data is lost the program would simply use the last GPS fix, COG and SOG to start a DR plot and feed updates to OpenCPN. At any time the user could enter new COG and SOG and, if desired, a new position. That would avoid any changes to OpenCPN to make it look at Ownship's coordinates rather than the GPS fix, since OpenCPN wouldn't even know GPS had been replaced by DR.
Fabbian
|
Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
|
|
|
11-07-2012, 00:40
|
#32
|
Registered User
Join Date: Jan 2012
Posts: 481
|
Re: Free Routing Software
Hmmm...
I need to discuss this with the other devs..
|
|
|
11-07-2012, 02:33
|
#33
|
Registered User
Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
|
Re: Free Routing Software
I'm compiling on 64 bits Kubuntu 12.04.
No problems as such.
But there are no icons in the icon or img directories, which leads to no Icons in the toolbar. I solved that by copying img from the svg download.
When closing down and restarting I, sometimes, have the following error.
Code:
./qtVlm
currentPath returns: "/home/thomas/Testing/qtvlm/trunk" applicationDirPath returns: "/home/thomas/Testing/qtvlm/trunk"
Current path "/home/thomas/Testing/qtvlm/trunk"
Loading en
Starting qtVlm - "qtVlm - ver 3.2-8 patch1 (Jul 10 2012) for Linux"
Init dialogProxy
Starting with interpolation: "Hybride"
QPainter::begin: A paint device can only be painted by one painter at a time.
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setPen: Painter not active
QPainter::setFont: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPaintDevice: Cannot destroy paint device that is being painted
Segmentation fault (core dumped)
I solve this by deleting the .ini file and restarting.
It would be nice if you could include all necessary files i the download for Linux compilation.
Continuing my learning process ... of this very interesting program.
Thomas
|
|
|
11-07-2012, 02:54
|
#34
|
Registered User
Join Date: Jan 2012
Posts: 481
|
Re: Free Routing Software
Thomas,
Another way (and maybe the best one) to get all the needed files (images, icons, maps, polars, etc) is to download the latest full version for windows plus the patch1 (which contains some polars). You will find inside all you need for your linux installation (basically everything except .exe and .dll)
Concerning the paint error if you still get it after installing all necessary files please let me know.
|
|
|
12-07-2012, 06:05
|
#35
|
Registered User
Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
|
Re: Free Routing Software
Quote:
Originally Posted by maitai
Thomas,
Another way (and maybe the best one) to get all the needed files (images, icons, maps, polars, etc) is to download the latest full version for windows plus the patch1 (which contains some polars). You will find inside all you need for your linux installation (basically everything except .exe and .dll)
Concerning the paint error if you still get it after installing all necessary files please let me know.
|
maitai
Thanks, that was an easy way to install on Linux!
I still have the "paint error", if I close down with a grib file loaded.
Deleting the path to the gribfile i the ini file, makes it possible to restart.
Thomas
|
|
|
12-07-2012, 06:50
|
#36
|
Registered User
Join Date: Jan 2012
Posts: 481
|
Re: Free Routing Software
Thomas,
I think I have fix the problem. Can you re-update from the repository (sources and translation files), recompile and tell me if it's ok now?
|
|
|
12-07-2012, 08:03
|
#37
|
Registered User
Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
|
Re: Free Routing Software
Quote:
Originally Posted by maitai
Thomas,
I think I have fix the problem. Can you re-update from the repository (sources and translation files), recompile and tell me if it's ok now?
|
Maitai
I' sorry to say that the fix made it worse. Not even deleting the ini file helps now!
Thomas
|
|
|
12-07-2012, 08:11
|
#38
|
Registered User
Join Date: Jan 2012
Posts: 481
|
Re: Free Routing Software
Can you delete also boatAcc.dat and eventually poi.dat to start from a clean installation?
|
|
|
12-07-2012, 08:21
|
#39
|
Registered User
Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
|
Re: Free Routing Software
Quote:
Originally Posted by maitai
Can you delete also boatAcc.dat and eventually poi.dat to start from a clean installation?
|
That gives the same result. Still the "paint error".
|
|
|
12-07-2012, 08:37
|
#40
|
Registered User
Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
|
Re: Free Routing Software
maitai
After restarting the computer, the login dialog came up, and asked for a user-name. The the program started. I closed down without doing anything. Then, when trying to restart, the paint error reappeared.
Thomas
|
|
|
12-07-2012, 09:21
|
#41
|
Registered User
Join Date: Jan 2012
Posts: 481
|
Re: Free Routing Software
I cannot reproduce that here. You have exactly the same message in the console?
|
|
|
12-07-2012, 09:31
|
#42
|
Registered User
Join Date: Sep 2007
Location: Almería, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,558
|
Re: Free Routing Software
Has anyone compiled an ubuntu deb? Lazy I am I know..
|
|
|
12-07-2012, 11:56
|
#43
|
Registered User
Join Date: Jan 2012
Posts: 481
|
Re: Free Routing Software
Thomas,
Since I cannot reproduce this here I am trying to guess what is happening to you. Can you once more update from the repository, recompile and tell me?
|
|
|
13-07-2012, 01:01
|
#44
|
Registered User
Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
|
Re: Free Routing Software
Quote:
Originally Posted by maitai
Thomas,
Since I cannot reproduce this here I am trying to guess what is happening to you. Can you once more update from the repository, recompile and tell me?
|
Maitai
I have downloaded your latest.
This is very iffy, no consistent results. Sometimes it works, sometimes it doesn't.
Compare this
Code:
QPainter::begin: A paint device can only be painted by one painter at a time.
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setPen: Painter not active
QPainter::setFont: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPaintDevice: Cannot destroy paint device that is being painted
Segmentation fault (core dumped)
with this, that actually starts
Code:
QPainter::begin: A paint device can only be painted by one painter at a time.
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setPen: Painter not active
QPainter::setFont: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPaintDevice: Cannot destroy paint device that is being painted
playerType= 0
playerType= 0
Loading POI
It smells like a race condition, with thread safety involved!
Just my guess.
Anyway, no big deal. I'm happy just doing some testing, and learning.
Thomas
|
|
|
13-07-2012, 02:29
|
#45
|
Registered User
Join Date: Jan 2012
Posts: 481
|
Re: Free Routing Software
Yes this is also my feeling. I have made yet another change to try to fix this (quite difficult since I cannot reproduce this error here). Can you please give it a try?
|
|
|
|
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
Advertise Here
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
|
|