Page 11 of 12 FirstFirst ... 23456789101112 LastLast
Results 101 to 110 of 112

Thread: Flash Guages including source code

  1. #101
    Wants to make it harder monkeyracer's Avatar
    Join Date
    May 2007
    Location
    Lakehood, CO
    Posts
    1,463
    something to the effect of this:



    in this example, the gauge is showing the car turning left at .5 G's, while braking at .25 G's (which is negative since you are slowing down.)

    It needs a lot more work, this is a quick try at it...

    what would be cool is have a max mode, so that the graph showed the max G's in either axis.
    2007 Chrysler PT Cruiser TE
    Car PC Progress:
    Planning.......[---------X-] 95%
    Parts...........[---------X-] 90%
    Fabrication...[---------X-] 90%
    RR Skin........[---------X-] 95%
    View my
    Worklog
    Road Runner Skins
    Website
    Favorite thread EVER!

  2. #102
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,166
    Blog Entries
    52
    Quote Originally Posted by monkeyracer View Post
    something to the effect of this:



    in this example, the gauge is showing the car turning left at .5 G's, while braking at .25 G's (which is negative since you are slowing down.)

    It needs a lot more work, this is a quick try at it...

    what would be cool is have a max mode, so that the graph showed the max G's in either axis.
    i actually have that almost exact image on my mixer screen to control fader/balance. This should be easy. I will make both the indicator method john suggested and your method.
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  3. #103
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,700
    Blog Entries
    1
    Wow, that looks nice... I still feel that the gauge itself should be void of graphics. This can then be done in the image for the skin, and anyone can come up with what they want for the background of the gauge, making it totally customizable.

    If anything, maybe have the background graphic, with the circle, cross hairs ect all an external .png that can be used. This way the png could be changed to the users liking, or an empty .png (all transparent) so the background would then be whatever the skin background is.

    I think G's are going to be pretty tough to calculate. Taking the current speed, acceleration / deceleration, rate of turn ect. Then if the vehicle starts to slide you have to take into count that the lateral G's are going to decrease.... All of this would make for one very complex mathematical formula, as well as probably not being that accurate. For ease of coding, it may just be better to get the difference in heading over a given time and the difference in rate of speed over a given time.
    From the Fusion Brain Website:

    "a typical car [accelerating] is between 0.3G and 0.5G"

    That is a really small scale to try to measure G's even remotely accurately given the 1 second update time and all the other factors.

    Here is snippit from another website:
    We just need to know the radius of the turns and the speed of the car. For example if the road has a turn, in a radius of 750 feet (229 meters), and you are traveling around 70 MPH
    When the car goes around the turn, it accelerates the whole time (this is why, when you make a turn in your own car, you feel a force pulling your body toward the outside of the car). The amount of acceleration is equal to the velocity of the car squared divided by the radius of the turn:

    A = v2 / r Let's run the numbers:
    • 230 mph is 337 feet per second (f/s).
    • (337 f/s)2 / 750 feet = approximately 151 f/s2.
    • The acceleration due to gravity (1 G) is 32 f/s2.
    • 151 / 32 = 4.74 Gs experienced by the drivers.
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  4. #104
    Newbie DaveDevil's Avatar
    Join Date
    Jul 2007
    Posts
    36
    but there's still the problem that, with the updating of one time per second, is too slow for appreciating the movement of the indicator...

    no solution for this?

  5. #105
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,700
    Blog Entries
    1
    Any luck with this Sonic?
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  6. #106
    Maximum Bitrate vicky_obee's Avatar
    Join Date
    Dec 2003
    Posts
    562
    Guys Hi
    can u pls help me getting the gauges to work..
    i am trying to get
    CPU temp, HDD temp, Fan RPM, ( actually all d readings in SPeedfan.skin)
    but can only get CPU useage to work,,,

    Can you PS help me
    thanx

    Of course all the reading are working while in the speedfan skin.. ( means speed fan is installed )
    Commell LV-677 DC 6 x 6" Mother Board
    2.6 GHz; 1 Gb Ram
    120 Gb Laptop HD
    7" InDash Xenarc MTD - X7000 Screen
    Gyration Mouse ; GPS Mouse ; ELM Scan ; TPMS
    Parrot MK 6000 & iPhone
    ----------
    Re done the carputer...Into the Glove Box !!

  7. #107
    Maximum Bitrate vicky_obee's Avatar
    Join Date
    Dec 2003
    Posts
    562
    By the way guys...
    are the CPU temp, HDD temp gauges working...
    I really am notable to get it thru...

    Only 1 that is working is CPU Useage....
    Commell LV-677 DC 6 x 6" Mother Board
    2.6 GHz; 1 Gb Ram
    120 Gb Laptop HD
    7" InDash Xenarc MTD - X7000 Screen
    Gyration Mouse ; GPS Mouse ; ELM Scan ; TPMS
    Parrot MK 6000 & iPhone
    ----------
    Re done the carputer...Into the Glove Box !!

  8. #108
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    can u post the label codes your gauges are expecting in Flash?
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  9. #109
    Maximum Bitrate vicky_obee's Avatar
    Join Date
    Dec 2003
    Posts
    562
    Hey am so sorry BUT i DONT know what codes to write....
    I just put the flash Files in the Speed fan.skin
    and expected it to run as all other parameters are working...
    I did NOT put any codes for the CPU use age as well...( but it works )
    Can you pls help me
    Commell LV-677 DC 6 x 6" Mother Board
    2.6 GHz; 1 Gb Ram
    120 Gb Laptop HD
    7" InDash Xenarc MTD - X7000 Screen
    Gyration Mouse ; GPS Mouse ; ELM Scan ; TPMS
    Parrot MK 6000 & iPhone
    ----------
    Re done the carputer...Into the Glove Box !!

  10. #110
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    Some older flash files wait for RR to set the values to display -- Without knowing the labels
    you'd have to look at the original .skin files (using the flash files) looking for the labels that are on the same screen so the flash files can receive those as well.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

Similar Threads

  1. Need spectrum analyzer source code
    By XPLORE in forum Software & Software Development
    Replies: 9
    Last Post: 12-07-2001, 10:19 AM
  2. MPXPlays Source code is available!!
    By Fosgate in forum Software & Software Development
    Replies: 3
    Last Post: 05-30-2001, 05:18 PM
  3. c++ LCD source code
    By mprover in forum Software & Software Development
    Replies: 3
    Last Post: 01-19-2001, 03:32 PM
  4. Keypad plugin source code
    By brandondere in forum General MP3Car Discussion
    Replies: 0
    Last Post: 12-28-2000, 09:10 PM
  5. If you use the winamp LCD plug-in, do you need a source code??
    By SSJGogeta in forum General Hardware Discussion
    Replies: 2
    Last Post: 01-03-2000, 08:36 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
  •