Показать сообщение отдельно
Старый 27.11.2010, 20:40   #11
v_max
Читатель
Доп. информация
По умолчанию

Цитата:
Сообщение от asio Посмотреть сообщение
The problem is with that zeroes (the photos) - I cant understand what are they for? The one in the green rectangle from second picture is odometer(as shown on the headpost but the others???
They dont disapear with the butonns(first picture).
The problem is that some buttons are under them and I cant see it.
I try to remove them by correcting config file like this -- #odometer=-118,-53,true (remove)---- #odometer=-118,-53,false (remove)
but they still stay on the screen.

Odometer is now removed at all.. its replaced with terratrip... something like odometer but much more
flexible and complicated..

Thre are 2 independent terratrips in this config.
One is on top right
and other is on bottom right.

Terratrip itself is not something visual on screen.
Each terratrip is a set of counters which counts time(T) and distance(L)
Each terratrip have 3 states stopped, count forward and count back
depending on button you pressed...
The set of counters includes T and L counters for each state.
And even more... there are 2 copies of each of this counters. One for current part of way and one is cumulative for all your trip. The only difference between this 2 sets is that 'current' you can clear with clear
button and 'cumulative' continue counting untill you wake up special dialog to clean it's values

So ONE terratrip have inside the following counters

currentLfwd
currentTfwd

currentLback
currentTback

currentLstop
currentTstop

cumulativeLfwd
cumulativeTfwd

cumulativeLback
cumulativeTback

cumulativeLstop
cumulativeTstop

This is primary values from which some other can be calculated

currentLway = currentLfwd - currentLback (distance passed on your way)
currentLmove = currentLfwd + currentLback (distance in move)
currentLtotal = currentLfwd + currentLback +currentLstop (total distance including one when terratrip was stopped)

currentTway = currentTfwd - currentTback (time on your way)
currentTmove = currentTfwd + currentTback (time on move)
currentTtotal = currentTfwd + currentTback +currentTstop (total time including time when terrtrip was stopped)

And the same set for cumulative counters

cumulativeLway
cumulativeLmove
cumulativeLtotal

cumulativeTway
cumulativeTmove
cumulativeTtotal


Here is formulas for speed calculations

currentVfwd = currentLfwd/currentTfwd (average forward speed)
currentVback= currentLback/currentTback (average backward speed)
currentVstop= currentLstop/currentTstop (average speed when terratrip was stopped)
currentVway= currentLway/currentTmove (average speed on way)
currentVmove= currenLmove/currentTmove (average speed in move)
currentVtotal=currentLtotal/currentTtotal (average speed including stopped time)
currentVmax - (maximum speed by GPS)
currentV - (current speed by GPS)

And again the same set of cumulative values

cumulativeVfwd
cumulativeVback
cumulativeVstop
cumulativeVway
cumulativeVmove
cumulativeVtotal
cumulativeVmax
cumulativeV - (the same as currentV )

Well ... what you see on screen is a set of terratrip buttons and displays.
Buttons are images and displays are texts only...

At the end of .cfg file you will find 2 [terratrip] sections
with buttons positioning and displays positioning... and also some extra parameters..

Config of terratrip is quite flexible and allows to build as a simpliest odometer as a very complicated
device sutable for rally pilots

Here is a [[Ссылки могут видеть только зарегистрированные пользователи. ]]> for different terratrips there

Oh yeah... If you do not need it .... just comment out the whole section of terratrip with it parameters
#[terratrip]
#name=mini
#imagesSubdir=ttmini
#autohide=false
##--terratrip buttons
#ttclear=-158,2,true,clear,tools
##--terratrip displays --
#currentLfwd=bigFont,-96,2,true
#currentTway=bigFont,-155,2,true,short
#currentVway=smallFont,-155,21,true
#currentVmax=smallFont,-116,21,true
#currentV=smallFont,-77,21,true

# - at the begining of line means comment
Most of things you do not need may be commented out.
v_max вне форума  
2 пользователя(ей) сказали cпасибо:
 
Время генерации страницы 0.03019 секунды с 11 запросами