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 10-07-2012, 16:52   #31
Registered User
 
sinbad7's Avatar

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,731
Images: 57
Send a message via Skype™ to sinbad7
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."
sinbad7 is offline   Reply With Quote
Old 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..
maitai is offline   Reply With Quote
Old 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
cagney is offline   Reply With Quote
Old 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.
maitai is offline   Reply With Quote
Old 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 View Post
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
cagney is offline   Reply With Quote
Old 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?
maitai is offline   Reply With Quote
Old 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 View Post
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
cagney is offline   Reply With Quote
Old 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?
maitai is offline   Reply With Quote
Old 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 View Post
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".
cagney is offline   Reply With Quote
Old 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
cagney is offline   Reply With Quote
Old 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?
maitai is offline   Reply With Quote
Old 12-07-2012, 09:31   #42
Registered User
 
idpnd's Avatar

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..
__________________
sv Libertalia
idpnd is offline   Reply With Quote
Old 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?
maitai is offline   Reply With Quote
Old 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 View Post
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
cagney is offline   Reply With Quote
Old 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?
maitai is offline   Reply With Quote
Reply

Tags
qtVlm, software

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


Advertise Here


All times are GMT -7. The time now is 20:50.


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.