Page 2 of 5 FirstFirst 12345 LastLast
Results 11 to 20 of 43

Thread: A Working RR Trip Meter

  1. #11
    Raw Wave lostreception's Avatar
    Join Date
    Sep 2004
    Location
    NY
    Posts
    1,806
    are you using the great circles distance calc or utm conversion ive also scoured the net for some decent code for gps gas and found that great circles is usually pretty good matches up with google and yahoo maps pretty well
    .______
    | '_ |__\___
    [(o)|___(o)] XB
    ._________
    | I__I I_I|_\__I
    [(o)______(o)]b VanPimpin'

    LostReceptions Apps D/L Here

    GPSGasoline- Rewriting

    Draw- SkribblePad for Touchscreens

    iGQwerty-iG3.0 Qwerty Keyboard

    CarPCNetwork

  2. #12
    Constant Bitrate ashgrovered's Avatar
    Join Date
    Jul 2005
    Location
    Brisbane Australia
    Posts
    150
    Yes I used the great circles distance formula, I hope Guino adds this to RR, and provide 3 or 4 counter labels, then we can each use the information the way we want too.

    Guino can probably shed more light on how hard it will be but he is already reading the raw gps information. I did all the maths (about 6 lines of code) in one function so it would be easy for Guino to copy. It will only need a bit of a syntax change to make it work in VB. AutoIt and VB code is very similar especially the all the trig functions.

    Add Counter1 Counter2 ……as new RR labels

    add 4 command
    start counter#, stop counter#, Clear Counter#, counter direction# (EG count up or down)

    While it works in Autoit passing labels back and forward between AutoIT and RR just uses extra CPU which most people hate

    Then we can each use the Counter labels for our own needs, like you say use it your GPS Gasoline app.

    I imagine that a few like Tissy and DiNASTY will do flash trip meters, if we can get this to fly

    Also thought that Chuck would want one for his Truck, if he doesn’t use it to keep track of distance he can always use it to count his RR variables

  3. #13
    Raw Wave lostreception's Avatar
    Join Date
    Sep 2004
    Location
    NY
    Posts
    1,806
    im sure someone wil chime in eventually to say that what if you lose gps signal well for one thing its possible to place a counter in the app that if and update is not recieved for say 5- 10 seconds or more it then dumps those untracked variables then upon resumption of the signal it should dump the next distanc calculation into a lostsignal.ini and also add it to the trip meter then you can go back and view those droputs and see it they make sense or not in terms of calculation lets say u have a distance of 30 miles in there obviosly wrong

    what do you think
    if i wasnt coding gps gas id take a stab at this let me know if u need any help
    .______
    | '_ |__\___
    [(o)|___(o)] XB
    ._________
    | I__I I_I|_\__I
    [(o)______(o)]b VanPimpin'

    LostReceptions Apps D/L Here

    GPSGasoline- Rewriting

    Draw- SkribblePad for Touchscreens

    iGQwerty-iG3.0 Qwerty Keyboard

    CarPCNetwork

  4. #14
    Constant Bitrate ashgrovered's Avatar
    Join Date
    Jul 2005
    Location
    Brisbane Australia
    Posts
    150
    Quote Originally Posted by lostreception
    im sure someone wil chime in eventually to say that what if you lose gps signal well for one thing its possible to place a counter in the app that if and update is not recieved for say 5- 10 seconds or more it then dumps those untracked variables then upon resumption of the signal it should dump the next distanc calculation into a lostsignal.ini and also add it to the trip meter then you can go back and view those droputs and see it they make sense or not in terms of calculation lets say u have a distance of 30 miles in there obviosly wrong
    But your speed will also be reporting 0km so no data will be added to the counter, when you get signal back the distance from your last recorded point will be calculated, so if you drive in to a tunnel and lose gps for 2km (long tunnel) when you get back out the gps signal will come back, the speed will be > that 0 and the calculation will be based on your last known point (just before you went in the tunnel) to your current point, so it will still be very accurate.

    EDIT Unless you’re in some alpine region and the tunnels go round in spirals

  5. #15
    Poet Laureate rustyboxx's Avatar
    Join Date
    Feb 2005
    Location
    The Côte d'Azur of England - Hot totty central
    Posts
    1,289
    Hmmm, I'm surprised there are not more people interested in this. I would have thought a lot of people would have jumped on this idea even if just expressing an interest. Ash, let us know if there are further developments.
    Only true postwhores remember everything they post

    REP CLUB IS DEAD
    LONG LIVE REP CLUB

  6. #16
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671
    Quote Originally Posted by rustyboxx
    Hmmm, I'm surprised there are not more people interested in this. I would have thought a lot of people would have jumped on this idea even if just expressing an interest. Ash, let us know if there are further developments.
    me too
    2001 S10 ZR2

    Chucks Skin - to old

  7. #17
    Constant Bitrate
    Join Date
    Nov 2005
    Posts
    123
    What I'd love to see is a functional trip meter with fill up and maintenance input all on one screen with MPG calculation as well.

    I'm interested, how can I help?

  8. #18
    Poet Laureate rustyboxx's Avatar
    Join Date
    Feb 2005
    Location
    The Côte d'Azur of England - Hot totty central
    Posts
    1,289
    Ash, how about a screenie? There might be a bit more interest if people can see your idea
    Only true postwhores remember everything they post

    REP CLUB IS DEAD
    LONG LIVE REP CLUB

  9. #19
    Constant Bitrate ashgrovered's Avatar
    Join Date
    Jul 2005
    Location
    Brisbane Australia
    Posts
    150
    I got this PM from Guino

    I use I would suggest you make a little plugin for that.. there's a new FAQ up about using the extension plugin interface, and seems like the right option for this feature.
    Reading the FAQ it looks like VB is required which I don’t have, so I asked CDR if he could help out
    CDR has agreed to do something in VB for us, I have sent him my notes and the AutoIt scripts I did.

    I would like to thank CDR for agreeing to help out

  10. #20
    Poet Laureate rustyboxx's Avatar
    Join Date
    Feb 2005
    Location
    The Côte d'Azur of England - Hot totty central
    Posts
    1,289
    Good news indeed. He's a good chap that CdR
    Only true postwhores remember everything they post

    REP CLUB IS DEAD
    LONG LIVE REP CLUB

Page 2 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. Dialup in RR without Phoco?
    By kbreeden in forum Road Runner
    Replies: 6
    Last Post: 12-12-2005, 09:04 PM
  2. Generalized Perception of RR from a new user
    By replicant in forum Road Runner
    Replies: 2
    Last Post: 11-15-2005, 11:41 PM
  3. Anyone have Hebrew Characters working in RR?
    By Chita79 in forum Road Runner
    Replies: 1
    Last Post: 10-20-2005, 02:17 PM
  4. Replies: 5
    Last Post: 10-05-2005, 11:34 AM
  5. RR Link not working
    By ShawJohn in forum Road Runner
    Replies: 12
    Last Post: 09-16-2005, 06:04 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
  •