Page 7 of 25 FirstFirst 1234567891011121314151617 ... LastLast
Results 61 to 70 of 246

Thread: Milage plugin - trip meter and fuel consumption

  1. #61
    Poet Laureate rustyboxx's Avatar
    Join Date
    Feb 2005
    Location
    The Côte d'Azur of England - Hot totty central
    Posts
    1,289
    Thanks Naesstrom, great tutorial. I'll give it a bash and let you know how I get on.
    Only true postwhores remember everything they post

    REP CLUB IS DEAD
    LONG LIVE REP CLUB

  2. #62
    Constant Bitrate
    Join Date
    Mar 2006
    Posts
    145

    Question

    - is there any information about the accuracy of the distance calculation?
    - what if there is no gps signal (tunel, alien spaceship, etc)?
    - how is the distance calculated? using coordinates or speed & time
    - do you provide the source?

    Thanks!

  3. #63
    Maximum Bitrate
    Join Date
    Jun 2002
    Location
    Malaysia
    Posts
    624
    Quote Originally Posted by Naesstrom View Post
    6. Make a button somewhere in your skin to the tripmeter.skin file. I changed the weather one since I never use that!
    This is what I want to do, but I cant seem to get it done.
    I went to the menu.skin file and changed:
    B14,701,434,95,101,"TV",""
    and changed it to
    B14,701,434,95,101,"TRIPMETER",""
    but when I clicked on TV, it does nothing. Then I changed it to

    B14,701,434,95,101,"LOAD;TRIPMETER.SKIN;TRIPMETER; ",""
    and it loaded the app, but freezes and I have to reboot.

    I have registered the dll, at least it said that it was installed successfully.

  4. #64
    Poet Laureate rustyboxx's Avatar
    Join Date
    Feb 2005
    Location
    The Côte d'Azur of England - Hot totty central
    Posts
    1,289
    Quote Originally Posted by masch View Post
    This is what I want to do, but I cant seem to get it done.
    Dunno if this helps but I changed the Radio button text in the RoadRunner/skins/Freedom 2.1 (or whatever skin you are using)/menu.text folder to the following. This did work and I can access the Tripmeter screens by pressing either button in the Freedom skin. I still need to change the png image to one for Trips instead of using the Radio one. Got some Photoshopping to do

    &mainbut3=Trip@icons\radio.png@LOAD;tripmeter.skin&
    &sidebut3=Trip@LOAD;tripmeter.skin&

    What I haven't figured out yet is how to get the trip meter to work and also change the units to mph

    Thanks to Naesstrom for the assistance. Nearly there now
    Only true postwhores remember everything they post

    REP CLUB IS DEAD
    LONG LIVE REP CLUB

  5. #65
    Variable Bitrate
    Join Date
    Mar 2005
    Location
    Sweden/Vaxjo
    Posts
    418
    Yeah you need to make the link with the LOAD command... I'm also using the freedrive skin and mine looks like:
    Code:
    &mainbut10=Weather@icons\weather.png@LOAD;tripmeter.skin&
    as you can see it's the part LOAD:tripmeter.skin that selects what skin it should load.

    If you want it to show mph and so on make sure that in the RR config in the GPS settings that "international standard units" isn't selected, then it should show all the settings in mph and miles.

    if you get to the skin when u push the button and you see the current speed and so on it's working, then you can use the different buttons depending on what you want to track, eg. if it's a work trip or that you just want to know the distance... when you fuel the car up press the "fuel" button and enter all the info, then the "main" tripmeter is reset and you can just continue to drive on...

    @Masch
    did you remember to put X,Milage in the menu.skin file, you have to put that line there so that RR loads the dll file before you try and load the skin... atleast I suspect that might be what makes it crash...

    I just noticed something with your link to... you said that yours looked like:
    Code:
    B14,701,434,95,101,"LOAD;TRIPMETER.SKIN;TRIPMETER; ",""
    I'm no pro-skinner but I would think it should look something like:
    Code:
    B14,701,434,95,101,"LOAD;TRIPMETER.SKIN","TRIPMETER"
    so that you have the link on one side of the , and the name on the other, both within a pair of "... hope you get what I mean... it's been a real long day...
    Swedish site for CarPC's
    http://www.bilpc.info

  6. #66
    Low Bitrate festy's Avatar
    Join Date
    Jun 2006
    Location
    Sydney, OZ
    Posts
    109
    Quote Originally Posted by ReflexNPG View Post
    - is there any information about the accuracy of the distance calculation?
    - what if there is no gps signal (tunel, alien spaceship, etc)?
    - how is the distance calculated? using coordinates or speed & time
    - do you provide the source?
    Thanks!
    1) It uses the great circle distance between two points formula, plenty of information available on the interweb if you're interested.

    2) When a position becomes available again, the straight line distance between the last known point and your current location is calculated (unless it's more than 2 miles/kms long - then it assumes it's a new trip) - as most tunnels are roughly straight and aliens only fly in straight lines, it's *reasonably* accurate for most tunnels, it just won't tick over distances while you're underground.
    I can move this 2 mile figure to an ini setting if you're driving through tunnels longer than that and want to tweak it.

    3) coordinates and great circle, see (1)

    4) not at this point - is there something specific you were interested in?

  7. #67
    Low Bitrate festy's Avatar
    Join Date
    Jun 2006
    Location
    Sydney, OZ
    Posts
    109
    Quote Originally Posted by masch View Post
    and it loaded the app, but freezes and I have to reboot.

    I have registered the dll, at least it said that it was installed successfully.
    Sounds like you might have an old version of the dll, that expected to be able to find a particular ini file. How long ago did you download it, and do you know the version number? (not that I've been too diligent about keeping version numbers up to date )

  8. #68
    Maximum Bitrate
    Join Date
    Jun 2002
    Location
    Malaysia
    Posts
    624
    Not sure, I downloaded the one in the first page. And also the one in page 2 or page 3. How do we know which is the latest version? I dont remember which one I have installed even.

  9. #69
    Constant Bitrate
    Join Date
    Mar 2006
    Posts
    145
    Quote Originally Posted by festy View Post
    1) It uses the great circle distance between two points formula
    in my country we have lots of mountains and i think this formula does not use the altitude of the two points, does it?

    Quote Originally Posted by festy View Post
    2) When a position becomes available again, the straight line distance between the last known point and your current location is calculated (unless it's more than 2 miles/kms long - then it assumes it's a new trip)
    and because we have so many mountains, we also have many tunnels And they can be a lot longer then 2km...and some of them have curves...

    Quote Originally Posted by festy View Post
    4) not at this point - is there something specific you were interested in?
    yes, cause i want to implement such a functionality in my plugin and maybe it would help 2 see how you did it...

    Thanks 4 the infos!

  10. #70
    Variable Bitrate
    Join Date
    Mar 2005
    Location
    Sweden/Vaxjo
    Posts
    418
    Just wanted to point out that I'm still having problems if I exit RR and then starts it again... the numbers are all wrong, I even tried it on a new install now and I'm still getting this...
    Swedish site for CarPC's
    http://www.bilpc.info

Similar Threads

  1. A Working RR Trip Meter
    By ashgrovered in forum RR Plugins No Longer Supported
    Replies: 42
    Last Post: 01-06-2007, 12:24 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •