Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 09-01-2012, 22:25   #91
Registered User

Join Date: Jun 2008
Location: Svendborg
Boat: B31, 9,5 meters
Posts: 6
Re: Logbook Konni for OpenCPN

Has anyone made a succesful compilation on linux?

I have followed the instructions and compiled OpenCPN and the LogbookKonni from sources on my Linux Mint 12 system. Everything turns out ok with no errors. However the plugin for Logbook Konni does not appear in list of availible plugins . I have checked, that the file is in the same directory as the other plugins after installation.

Does anyone have a clue, what I might be doing wrong.

Regards
Keneu
__________________

__________________
Keneu is offline   Reply With Quote
Old 10-01-2012, 01:11   #92
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,777
Re: Logbook Konni for OpenCPN

Keneu,

you may want to check the opencpn.log file. Sometimes it includes worthy hints.

Gerhard
__________________

__________________
CarCode is online now   Reply With Quote
Old 10-01-2012, 01:50   #93
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,018
Re: Logbook Konni for OpenCPN

Keneu...
Are you building against the latest opencpn git sources? If so, you have to change
Code:
#define     MY_API_VERSION_MINOR    5
to
Code:
#define     MY_API_VERSION_MINOR    6
in logbook_pi.h due to the change in the plugin API for the latest beta.
And yes, it should be reported in the logfile as CarCode says.

Pavel
__________________
nohal is offline   Reply With Quote
Old 10-01-2012, 07:30   #94
Registered User

Join Date: Sep 2011
Posts: 205
Re: Logbook Konni for OpenCPN

Quote:
Originally Posted by chuckbauer View Post
Perhaps a small improvement would be the addition of a "Storage Location" field in the Boat/Equipment table or a "Spares" section under Maintenance which would be similar to Equipment but without the serial number but with Location and Quantity fields.
Hello Chuck,

thank's for the reply.

It's a good idea You talked about. I know what You mean after two apoplectic strokes (i search everything),
but i think it's better to create another plugin for that, because
the logbook-plugin get's too big (loading time) and not every skipper needs/uses it.

i'll write storage-plugin in the future (promised), but by now i'am working on a LayerManager-plugin for OpenCPN.

best regards
konni
__________________
konni is offline   Reply With Quote
Old 10-01-2012, 07:57   #95
Registered User
 
edelvoilier's Avatar

Join Date: Dec 2011
Location: France - Haute Savoie
Boat: Edel 4DL 7m10
Posts: 53
Hi Konni
Can you get us news about your vetsion logbookkonni 0.910
Thanks
__________________
edelvoilier is offline   Reply With Quote
Old 10-01-2012, 12:54   #96
Registered User

Join Date: Jun 2008
Location: Svendborg
Boat: B31, 9,5 meters
Posts: 6
Re: Logbook Konni for OpenCPN

Many thanks to CarCode and Nohal

After change from 5 to 6 and recompiled it work perfectly.

Regards
Keneu
__________________
Keneu is offline   Reply With Quote
Old 10-01-2012, 13:25   #97
Registered User

Join Date: Sep 2011
Posts: 205
Re: Logbook Konni for OpenCPN

Quote:
Originally Posted by edelvoilier View Post
Hi Konni
Can you get us news about your vetsion logbookkonni 0.910
Thanks
Hello Pascal,

there's not so much new in 0.910.
I've added a option "if waypoint arrived", but i cannot check it with my
Simulator (only switch on or off).
the waypoint-data must come from GPS and uses the $GPRMB-Sentence.
if the waypoint exsist in OpenCPN only and isn't send to GPS nothing will happen.

if someone could test this option under real condition, please give me a feedback.

i like to come to the end of programming the logbook-plugin and start a new plugin you can see a preview here.
It's a bit to buggy to publish it now. If it's interesting for OpenCPN-Users please post a message.

best regards
konni
__________________
konni is offline   Reply With Quote
Old 10-01-2012, 13:31   #98
Registered User

Join Date: Sep 2011
Posts: 205
Re: Logbook Konni for OpenCPN

Hello Pavel and Gerhard,

thank's for the help.
I've changed the logbook_pi.h to Pavel's directions and added it in the ReadMe-File.
It'll compile now with the OpenCPN-Beta.

best regards
konni
__________________
konni is offline   Reply With Quote
Old 11-01-2012, 05:21   #99
Marine Service Provider

Join Date: Oct 2009
Location: In the U.S.
Boat: FP Tobago 35 [sold]
Posts: 402
Re: Logbook Konni for OpenCPN

Quote:
Originally Posted by konni View Post
Hi Mark,

happy new year to You and Liesbet.

I cannot reproduce the bug about show/hide Columns.
On Win7/XP/Linux the Columns hide and appear properly in the grid.

If You mean the display (after You hit view-buttom), that's a different story.
The Layout's are hardcoded templates. The idea behind that was, that every
user can produce his own Layout.

if i have something misunderstood please mail the details to reproduce the
bug.

best regards
konni

P.S.
I send You a preview of 0.910. It has now a option "if waypoit arrived"
that i cannot check - only waypoint on/of, but not a real GPS

Hi Konni,

I am using .909 right now.

The issue is that I was clicking on the column heading (i.e. "Sign"), and nothing happens. I need to click in a data field in the column, and then I get the option to Hide the column.

That is why I was confused a bit. Not a big deal.

I will install .910 today and let you know what I find.

Thanks, and Happy New Year to you too!

Mark
__________________
Mark (It's Irie - Sailing Blog)
The Wirie AP+ and The Wirie pro - Long Range Marine WiFi and 2/3/4G Systems
kiltym is offline   Reply With Quote
Old 11-01-2012, 05:33   #100
Marine Service Provider

Join Date: Oct 2009
Location: In the U.S.
Boat: FP Tobago 35 [sold]
Posts: 402
Re: Logbook Konni for OpenCPN

Konni,

On the overview tab, there is a column for Speed Avg. This averages the SOG column from each logbook entry, correct?

One thought. For us, when sailing, the instant speed that is recorded when a logbook entry it entered does not always reflect the "average" speed over the time span for the logbook entry.

For example, if we do entries each hour, and we travel 5nm, the average speed for that hour would be 5kts. However, at the time of the logbook entry, perhaps we were only doing 4.1kts . In that case, the logbook entry is correct, but the overview page "Speed Avg" is not really accurate.

So, a thought. Perhaps another column in the Overview page to show true average speed for the entire logbook. This can be easily calculated based on distance total / time lapse total (last entry time - first entry time). What do you (or anyone else) think?

I noticed this because in the Overview tab, the Speed Avg is never really correct, in my opinion of what I would think it would represent.

Thanks!
Mark

PS. Not trying to make you have more work .
__________________
Mark (It's Irie - Sailing Blog)
The Wirie AP+ and The Wirie pro - Long Range Marine WiFi and 2/3/4G Systems
kiltym is offline   Reply With Quote
Old 11-01-2012, 06:36   #101
Registered User

Join Date: Jun 2010
Location: St. Petersburg, Florida
Boat: Gemini 3200
Posts: 702
Re: Logbook Konni for OpenCPN

Quote:
Originally Posted by konni View Post
I've added a option "if waypoint arrived", but i cannot check it with my
Simulator (only switch on or off).
the waypoint-data must come from GPS and uses the $GPRMB-Sentence.
if the waypoint exsist in OpenCPN only and isn't send to GPS nothing will happen.
A number of OpenCPN users connect a "hockey puck" GPS like the BU-353 to their computer. Those GPS receivers don't have any waypoint capability, they simply report the boat's location, course, and speed, and rely on OpenCPN (or some other program) to handle all the navigational niceties like waypoints and routes.

If, instead of using data from the GPS you used data from OpenCPN to determine arrival at a waypoint the feature would work for all users.

Fabbian
__________________
fgd3 is offline   Reply With Quote
Old 11-01-2012, 11:43   #102
Registered User

Join Date: Sep 2011
Posts: 205
Re: Logbook Konni for OpenCPN

Quote:
Originally Posted by fgd3 View Post
If, instead of using data from the GPS you used data from OpenCPN to determine arrival at a waypoint the feature would work for all users.
Hello Fabian,

good idea, but it's not so easy as it seems (for me).
the reason is that plugins are separated from the mainprg. and receive data through a handfull functions.
these functions don't support waypoints or e.g. the routemanager.
in the future, if this data are available for plugins (maybe), i can add your idea.

best regards
konni
__________________
konni is offline   Reply With Quote
Old 11-01-2012, 12:48   #103
Registered User

Join Date: Sep 2011
Posts: 205
Re: Logbook Konni for OpenCPN

Quote:
Originally Posted by kiltym View Post
On the overview tab, there is a column for Speed Avg. This averages the SOG column from each logbook entry, correct?
Hello Mark,

the column uses SOG, perhaps that makes the difference. i'll add a column STW.

to make the speed more precise i have to turn the "Sign"-column into a must-field.
e.g
if you add a line in the harbour (0 NM) and a line at sea (5 Nm), than there are 2 entries with 5 Nm. 5 Nm/2 entries = 2,5 Nm average. (bug)
with a Sign e.g "S" for sailing, i can avoid these harbour/anchor-entries.

Quote:
Originally Posted by kiltym View Post
Perhaps another column in the Overview page to show true average speed for the entire logbook.
i could add a row to show the summarized data of the logbook in white/darkgrey. this will separate the logbooks too.

Quote:
Originally Posted by kiltym View Post
PS. Not trying to make you have more work .
don't worry, if i can make it i'll do it.

i send you the version 0.911 if it's ready.

'til then
konni
__________________
konni is offline   Reply With Quote
Old 11-01-2012, 15:08   #104
Marine Service Provider

Join Date: Oct 2009
Location: In the U.S.
Boat: FP Tobago 35 [sold]
Posts: 402
Re: Logbook Konni for OpenCPN

Quote:
Originally Posted by konni View Post
Hello Mark,

the column uses SOG, perhaps that makes the difference. i'll add a column STW.

to make the speed more precise i have to turn the "Sign"-column into a must-field.
e.g
if you add a line in the harbour (0 NM) and a line at sea (5 Nm), than there are 2 entries with 5 Nm. 5 Nm/2 entries = 2,5 Nm average. (bug)
with a Sign e.g "S" for sailing, i can avoid these harbour/anchor-entries.


i could add a row to show the summarized data of the logbook in white/darkgrey. this will separate the logbooks too.


don't worry, if i can make it i'll do it.

i send you the version 0.911 if it's ready.

'til then
konni
Hey Konni,

Don't think STW will make a difference as far as what I am talking about, but might be useful for some people to have that also.

If you have a line for in the harbor, at 1000hrs and 0nm.
Then add a line when out at 1100 and 5nm.

If you take the time difference and get 1 hour, then use that to determine the avg speed of 5kts. Wont that work?

I may misunderstand something however as I think your tool is so great, but it very custom for each user and how they use it.

Also, we had the feature for waypoint arrival turned on, but we never had an entry created. I suspect it's the issue that was just mentioned about the GPS not sending this data....? If I can send you any diagnostics just let me know.
__________________
Mark (It's Irie - Sailing Blog)
The Wirie AP+ and The Wirie pro - Long Range Marine WiFi and 2/3/4G Systems
kiltym is offline   Reply With Quote
Old 12-01-2012, 07:58   #105
Registered User

Join Date: Sep 2011
Posts: 205
Re: Logbook Konni for OpenCPN

Quote:
Originally Posted by kiltym View Post
If you take the time difference and get 1 hour, then use that to determine the avg speed of 5kts. Wont that work?
Hello Mark,

i go a different way and use the Sign-Column as indicator to add the speed.
if the boat has made a distance >= 0.1 Nm the "S" in the column is set
automatically when a new line was added. A empty sign-column or another Character (H)arbour,
(M)ooring, (A)nchor etc. will not be added to the speed. So the skipper decides or correct the result in the end.
I send you tonight (german time) a preview, this explains more than my english.

Quote:
Also, we had the feature for waypoint arrival turned on, but we never had an entry created. I suspect it's the issue that was just mentioned about the GPS not sending this data....?
this is maybe the problem (as Fabian(fgd3) wrote before) and i don't have a solution by now, only NMEA-Sentences are delivered to plugins.
Quote:
If I can send you any diagnostics just let me know.
do you receive a sentence like this one:
$GPRMB,A,0.66,L,003,004,4917.24,N,12309.57,W,001.3 ,052.5,000.5,V*0B
and if so has it a 'A' (arrived) before the asterisk ?

thank's for your help

'til then
konni
__________________

__________________
konni is offline   Reply With Quote
Reply

Tags
opencpn

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Logbook Plug-in SethDart OpenCPN 98 10-01-2013 12:47
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 05:31



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.