Festy's Tripmeter plugin [RELEASED]
A long time ago Festy developed a tripmeter plugin to record various mileages.
He released the source code and hasn't been seen on the forums for a while so I have taken it upon myself to convert the plugin to .net and make a few additions such as hibernate awareness and profile mode.
I will be releasing the plugin on Appmart but thought I'd check first if anyone knows if Festy has any objections to this. I sent him a PM ages ago but no reply. Dont want to let a good plugin die so if no objections I will release it BUT if Festy ever tells me to remove it then I will.
Edit. No objections so far so I'll release. Get it from the AppMart.
Milage (yes I know its spelt wrong but thats history) is a plugin for Riderunner. Its been tested against May and June versions but should be ok for older versions too.
It adds multiple trip meters, fuel consumption calculation and logging, and a few other bits and pieces.
The plugin can record trip specifics - such as distance, end time/date and end coordinates.
These details and Fuel consumption information are saved to a sqlite database.
There are 3 trip meters available simultaneously:
Total meter - this is a cumulative meter that is saved between RR restarts. This is the trip meter
that the fuel consumption is calculated from. Resetting this meter also resets the average and
max speed, as well as the leg meter.
Trip or Leg meter - this is a sub-meter of the Total meter, useful for following trip notes that
state "left in 3.4km" kind of thing, can be reset without effecting the total meter. Its also automatically reset
when comming out of hibernate.
Work meter - can be started and stopped at will, useful for recording trips for work etc. Completely
independant of the other meters.
Fuel consumption is calculated by inputting the quantity of fuel used. The idea being that when you
fill up, you enter the litres/gallons it took, and this is used with the Total meter to record a
consumption figure, in L/100km or mpg. Entering a fuel quantity will zero the Total meter, ready to
start logging the next tank of fuel.
Both metric and imperial units are supported, based on the isunits line in RR.ini.
For countrys that use a mix (i.e UK) then a special mixedUnits variable allows miles and litres.
tripmeter.ini - records Total and work meter values between invocations of RR
tripmeter.log - CSV of recorded trips, fields are end date, end time, total meter, leg meter,
work meter, end lat, end lon
fuel.log - CSV of fuel consumption, fields are date, time, fuel quantity, distance,
mpg or l/100km, lat, lon
fuel.kml - google earth points file.
Mileage.db3 - sqlite database file.