Centrafuse Carputer, CarPC & UMPC Forums

Go Back   Centrafuse Carputer, CarPC & UMPC Forums > 3rd Party Development > Plugin Development

Plugin Development Extend the functionality of Centrafuse by developing plugins


Reply
 
LinkBack (2) Thread Tools Display Modes
Old October 16th, 2007, 04:37 AM   2 links from elsewhere to this Post. Click to view. #1 (permalink)
10 Farad - Flux Capacity
wolfgang928's CarPC Specs
 
wolfgang928's Avatar
 
Join Date: Mar 2007
Location: Germany Oldenburg
Vehicle: Lotus Elan M100
Posts: 351
wolfgang928 is a jewel in the roughwolfgang928 is a jewel in the roughwolfgang928 is a jewel in the roughwolfgang928 is a jewel in the rough
Exclamation Drivers Logbook

DRIVEBOOK, the driving log book for your car

Name:  main-night2-on.jpg
Views: 3255
Size:  36.6 KB
Drivebook main page

This tool could be dowloaded from this link:

But PLEASE read the manual, which could be found under \documents

Current Version 2.0.0.8 for CF 2.x (RC5)

**********************************************
Drivebook for Centrafuse
**********************************************

Bug fix update: 2.0.2.2 - drivebook.zip
Please unpack included dll into drivebook plugin path. The included skin.xml and language.xml files must also be exchanged with the former versions.

CENTRAFUSE Plug-In, tested with version CF2.x

================================
Version: 2.0.2.2 from 24.02.2009
================================

MODIFICATIONS:
- modifications in all language files, block INPUT renamed to INPUTDTA
- modifications in all skin.xml files, block INPUT renamed to INPUTDTA

NEW: + Support of suspend and resume during hibernation mode
BUGFIX: - negative longitude or latitude values are now used correctly

================================
Version: 2.0.0.8 from 1.7.2008
================================
NEW: Conversion to CF2.x with .Net2
- adapted to new CF2.x cfplugin.dll.
- modified sound output handling
- setup routine rewritten to use the private configuration files with CF 2.x also
- build in new log file function [USEDEBUG] as used in other plugins
- no further support of CF 1.x versions, no error correction for old system

Give it a try

Thanks for hints and bug reports

Wolfgang928

Last edited by wolfgang928; February 24th, 2009 at 12:24 PM. Reason: New version available
wolfgang928 is offline   Reply With Quote
Old October 16th, 2007, 02:51 PM   #2 (permalink)
7 Farad - Super Capacity
 
Join Date: Oct 2006
Location: Pavia (Italy)
Posts: 109
AL9001 is on a distinguished road
Talking

I don't know if it exist, and it wuold be my firs plugin but... I have no time

I think that it could be very useful, because I work with car and someone pays for my trips !!!!!

I'm thinking of somewhat that records:

When I begin the trip (car begin to move):
Hour, coords, complete address

When I stop my car (ignition turn off):
Hour, coords, complete address, kms made

I think that it's not so difficult to do, and my hope is to find the way to do it by myself... but I'm thinking to start from one year, so....

Bye,
AL
AL9001 is offline   Reply With Quote
Old October 16th, 2007, 04:12 PM   #3 (permalink)
10 Farad - Flux Capacity
wolfgang928's CarPC Specs
 
wolfgang928's Avatar
 
Join Date: Mar 2007
Location: Germany Oldenburg
Vehicle: Lotus Elan M100
Posts: 351
wolfgang928 is a jewel in the roughwolfgang928 is a jewel in the roughwolfgang928 is a jewel in the roughwolfgang928 is a jewel in the rough
Talking Drivebook

Hi AL,

i think i will also try to make one. I have just started to define the necessary
settings for the config.xml and nearly finished the setup area.

Hopefully i have an alpha version running up to the weekend.

And then lets try to test it.

Bye Wolfgang928
wolfgang928 is offline   Reply With Quote
Old October 17th, 2007, 03:29 PM   #4 (permalink)
10 Farad - Flux Capacity
wolfgang928's CarPC Specs
 
wolfgang928's Avatar
 
Join Date: Mar 2007
Location: Germany Oldenburg
Vehicle: Lotus Elan M100
Posts: 351
wolfgang928 is a jewel in the roughwolfgang928 is a jewel in the roughwolfgang928 is a jewel in the roughwolfgang928 is a jewel in the rough
Question Drivebook

Hi Al and others,

i have jsut finished the setup part of a new driver logbook with the possibilty
to differ private targets from work place targets and from business targets. Therefore you have to save once the location of your home and another location of your working place. The rest of location as a start would defined as buisness locations. Afterwards you can change the location type of course.

You can select car (if you use more than one) and driver (each driver could have a separate home and work location.

Here are the first screens of the setup area:

Name:  setup1-small.jpg
Views: 3381
Size:  30.8 KB
Setup page 1

Name:  setup2-small.jpg
Views: 3369
Size:  29.8 KB
Setup page 2

PAUSE is the time between two a stop and the next start: i.e. stopping at a gas station should not create a new trip log.

TRIGGER DISTANCE is the amount of meters, which the car should be moved to start a new log automatically.

DESTINATION RADIUS IN METER
if your work place has a great parking place, the gps coordinates are not all the same, so you can define a radius around that location to keep the same adress.

Are there any ideas, which neccessary features should be included?

Thanks for a hint

Wolfgang928
wolfgang928 is offline   Reply With Quote
Old October 17th, 2007, 04:17 PM   #5 (permalink)
7 Farad - Super Capacity
 
Join Date: Oct 2006
Location: Pavia (Italy)
Posts: 109
AL9001 is on a distinguished road
Wink

Wow !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Looks great !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!

I think that it could be VERY useful... what do you record in the db ?
It could be interesting to log data from OBDII... like fuel consumption, average engine load... Am I asking too much ?

I cant' wait to try it !!! When you are ready send me the language file that I translate for you in Italian !

Bye,
AL
AL9001 is offline   Reply With Quote
Old October 17th, 2007, 06:46 PM   #6 (permalink)
10 Farad - Flux Capacity
wolfgang928's CarPC Specs
 
wolfgang928's Avatar
 
Join Date: Mar 2007
Location: Germany Oldenburg
Vehicle: Lotus Elan M100
Posts: 351
wolfgang928 is a jewel in the roughwolfgang928 is a jewel in the roughwolfgang928 is a jewel in the roughwolfgang928 is a jewel in the rough
Drivebook

Hi AL,

the database contains only two tables.

Table 1 = DRIVES with the following fields (in xml export view)

Date of Start
Time of Start
Date of End
Time of End
KmSTART
KMSTOP
ROUTE = KMSTOP - KMSTART
CORR = percentage correction factor between GPS KM and odometer KM's
DEST_ZIP
DEST_CITY
DEST_STREET
DEST_NAME = which is taken out of the second table, if record still there
TROUTE = time of drive
TOFF = time of car OFF before this drive
TYPE = P:private, W:drive to work, B:business drive
LATITUDE
LONGITUDE
DEST_ID

Table 2 = Locations
ID
DEST_ZIP
DEST_CITY
DEST_STREET
DEST_NAME
ContactTo
Reason

Thats all up to this moment. I think with these data the requirements of the
finance office are satified.

My main problem is to find a working logic to detect a trip stop.
Negative aspect are i.e. stop at gas station --> continue trip
standing in a AUTOSTRADA stop (takes a while) --> no trip end
i can't detect ignition off without special hardware (who has that?)
So the only possibilities to detect an end: no movment of the car over a period of ? minutes.


Bye Wolfgang928
wolfgang928 is offline   Reply With Quote
Old October 18th, 2007, 12:56 AM   #7 (permalink)
7 Farad - Super Capacity
jman's CarPC Specs
 
Join Date: Oct 2006
Location: Christchurch
Vehicle: Jeep Sport
Posts: 90
jman is on a distinguished road
Logbook

Hi
I use a MTX2 psu with a little program called interceptor that detects keyoff
(power button press) very simple then just set interceptor to perform the correct action

If you want i wil post intertceptor.

Jman
jman is offline   Reply With Quote
Old October 18th, 2007, 02:30 AM   #8 (permalink)
7 Farad - Super Capacity
 
Join Date: Oct 2006
Location: Pavia (Italy)
Posts: 109
AL9001 is on a distinguished road
Red face

I use ignition off button connected via power supply to the power input of MB and I've set CF to 'DO NOTHING' when Power button is pressed. You can use it.

My car have a little trip counter that consider as a stop a 'igniction off' period that is at least 30min.

I think that a 'no movement' with an adjustable range using GPS coords could be enough. I normally move from gas station to gas station to repair hardware (PC and Terminals), so I have to consider all stops as trips....

I think that the best way is a setup flag that let me choose what kind of stop I have to consider. If I select Igniction the plugin stops the trip everytime I switch off the car, if I select GPS Coords the plugin use GPS to calculate.

Bye,
AL
AL9001 is offline   Reply With Quote
Old October 18th, 2007, 03:53 AM   #9 (permalink)
10 Farad - Flux Capacity
wolfgang928's CarPC Specs
 
wolfgang928's Avatar
 
Join Date: Mar 2007
Location: Germany Oldenburg
Vehicle: Lotus Elan M100
Posts: 351
wolfgang928 is a jewel in the roughwolfgang928 is a jewel in the roughwolfgang928 is a jewel in the roughwolfgang928 is a jewel in the rough
Drivebook

Hallo jman and AL,

jman: I also use MTX2 psu. So i have interest in this program called interceptor.
What does this program excactly do? Is there a place to download it?

AL:
Quote:
I think that the best way is a setup flag that let me choose what kind of stop I have to consider. If I select Igniction the plugin stops the trip everytime I switch off the car, if I select GPS Coords the plugin use GPS to calculate.
Thats is a very good idea, i hope i could integrate that.

Quote:
I use ignition off button connected via power supply to the power input of MB and I've set CF to 'DO NOTHING' when Power button is pressed. You can use it.
I do not really understand, what you say, please give me a hint.

In CF there is a entry under [SETTINGS], [GENERAL], Page3, [IGNITION OFF ACTIONS]. CF is not able to DETECT an IGNITION OFF case. With using MTX2 you can configure a STAY ON time after ignition is switched off. So the mainboard "thinks" you are still driving.

Thanks for a help.

Bye Wolfgang928

Last edited by wolfgang928; October 18th, 2007 at 04:54 AM.
wolfgang928 is offline   Reply With Quote
Old October 18th, 2007, 11:24 AM   #10 (permalink)
7 Farad - Super Capacity
jman's CarPC Specs
 
Join Date: Oct 2006
Location: Christchurch
Vehicle: Jeep Sport
Posts: 90
jman is on a distinguished road
Interceptor

Hi Here we go interceptor.

Jman
Attached Files
File Type: zip int.zip (21.1 KB, 115 views)
jman is offline   Reply With Quote
Reply

Bookmarks

Tags
drivers, logbook

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://forums.fluxmedia.net/plugin-development/1805-drivers-logbook.html
Posted By For Type Date
MSN Shopping This thread Refback September 14th, 2008 08:42 PM
Mileage Plugin - MP3Car.com This thread Refback June 30th, 2008 05:59 PM



All times are GMT -4. The time now is 09:13 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2009 Flux Media, Inc. All rights reserved.Ad Management plugin by RedTyger