Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-07-2012, 17:52   #31
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,697
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.
Dead Reckoning Plugin for OCPN

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, 01:40   #32
Registered User

Join Date: Jan 2012
Posts: 416
Re: Free Routing Software

Hmmm...
I need to discuss this with the other devs..
__________________

__________________
maitai is offline   Reply With Quote
Old 11-07-2012, 03:33   #33
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,125
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, 03:54   #34
Registered User

Join Date: Jan 2012
Posts: 416
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, 07:05   #35
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,125
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, 07:50   #36
Registered User

Join Date: Jan 2012
Posts: 416
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, 09:03   #37
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,125
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, 09:11   #38
Registered User

Join Date: Jan 2012
Posts: 416
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, 09:21   #39
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,125
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, 09:37   #40
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,125
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, 10:21   #41
Registered User

Join Date: Jan 2012
Posts: 416
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, 10:31   #42
Senior Cruiser
 
idpnd's Avatar

Cruisers Forum Supporter

Join Date: Sep 2007
Location: Almería, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,549
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, 12:56   #43
Registered User

Join Date: Jan 2012
Posts: 416
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, 02:01   #44
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,125
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, 03:29   #45
Registered User

Join Date: Jan 2012
Posts: 416
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
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



Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 00:53.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.