Go Back   xda-developers > HTC Diamond: Touch Diamond, MDA Compact IV > Touch Diamond, MDA Compact IV Themes and Apps


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 1st September 2008, 11:14 PM
Ikari's Avatar
Ikari Ikari is offline
Member
 
Join Date: Mar 2006
Posts: 84
Arrow [APP]Pocket GForce [Source code released in p20]

Here you go the 1st program to measure how hard you stump against a wall.


MAIN
instant Gforce measure for:
Acceleration/brake (brake is negative)
left/right (left is negative)
Up/Down(up is negative)
Total (always positive)
Speed

GPS
Gps Stats
On/Off


0-...
Test your time from 0 to whatever you chose
(it uses gforce to start the timer)

MAX
Max Values (i know it needs work)


LOG
Chose what you want to log
Log Size

OPTIONS
Set update speed 50 - 1000ms
Use Km over miles per hour
Use Speed in Acc/Brake over Gforce in Main


http://rjsmsampaio.googlepages.com/grafico.jpg
You can get the gflog.txt in you main memory and open in excel
To clean the log just delete it.
X is left/right
y is acc/brake
z is up/down
t is total

Speed
Altitude
Heading
(all this are obvious)

the GFmax is store in gfmax.txt created in main memory.

How to use it correctly:
the pda must be in portrait whit the screen facing the back of the car. When you open the program it will self calibrate(this don't mean you don't need to have your acc calibrated whit other program).

It should read 0.00 whit the car stop in a level area. You can Turn or incline the PDA a little and calibrate again but it will affect the reading if too much off center.


This is the Beta version so post some feedback, im a full time teacher so updates will be constant but not every day

Source code in page 20
Beta vertion 0.25b in page 14
v0.15 0 to x Dynamo
v0.10 Gps integration and KM/Miles options
v0.03 installer
v0.03 maximum Gforce store and logging.
v0.02 New interface, Max working, new formula for Gforce (sorry the first one was wrong a bit) and new formula to calculate Total (thx haggz)
v0.01 First release


http://rjsmsampaio.googlepages.com/I...cketGForce.cab

Last edited by Ikari; 24th July 2009 at 11:11 AM.. Reason: Update
Reply With Quote
Sponsored Links

  #2  
Old 1st September 2008, 11:41 PM
charly_mx charly_mx is offline
Senior Member
 
Join Date: Jan 2007
Posts: 737
Default got the sofaa

Great App my friend. I have tested on aircraft just when taking off and landing and it is great ! didnt use the GPS
__________________
Omnia II. HTC Diamond on the Shelf now | ROM: Duttys_V4.0 Full CVSD| Best Radio: [SU] 1.12.25.19 | Protocol: 52.29.25.12W | HardSPL: 1.93.OliNex | Carrier: TELCEL | GPS Navigator: Destinator 7, Mexico Maps Q4 2008

Last edited by charly_mx; 15th October 2008 at 11:07 PM..
Reply With Quote

  #3  
Old 1st September 2008, 11:56 PM
dave's Avatar
dave dave is offline
Senior Member
 
Join Date: Feb 2004
Location: Bussero, Italy
Posts: 280
Default

Nice one, thanks.

Will have a try.
__________________
Dave
Reply With Quote

  #4  
Old 2nd September 2008, 12:00 AM
emre_aachen emre_aachen is offline
Member
 
Join Date: Jul 2008
Posts: 82
Default

I've been waiting for this program since Ikari has promised to write... Thanks Ikari... will feedback...
Reply With Quote

  #5  
Old 2nd September 2008, 12:22 AM
haggz haggz is offline
Junior Member
 
Join Date: Sep 2008
Posts: 4
Default

How do you calculate "total"? Judging from the top picture Id say you use

acc + curve = total

which is wrong. Use

total = sqrt(acc^2 + curve^2) instead

Otherwise it looks very nice!
Reply With Quote

  #6  
Old 2nd September 2008, 08:45 AM
Caspertje19 Caspertje19 is offline
Senior Member
 
Join Date: Apr 2007
Location: Purmerend
Posts: 135
Default

You did get your help! Wonderfull, will download it and have a drive in my car, nice !
Reply With Quote

  #7  
Old 2nd September 2008, 09:44 AM
cgeboers cgeboers is offline
Member
 
Join Date: Jan 2008
Location: Schriek
Posts: 84
Default Help needed ?

Good job ! I did send you a mail through the forum mail system to offer some help to enhance it. Did you read this ?
Reply With Quote

  #8  
Old 2nd September 2008, 10:23 AM
paclep paclep is offline
Junior Member
 
Join Date: May 2008
Posts: 18
Default

Hello.

Perhaps it should be usefull to offer a option to register some infos such as max acceleration.

Thank you for this app.
Reply With Quote

  #9  
Old 2nd September 2008, 01:46 PM
Ikari's Avatar
Ikari Ikari is offline
Member
 
Join Date: Mar 2006
Posts: 84
Default

Quote:
Originally Posted by haggz;
total = sqrt(acc^2 + curve^2)
I'm not sure about that i whant the total not the movement total.

Quote:
Originally Posted by cgeboers;
Good job ! I did send you a mail through the forum mail system to offer some help to enhance it. Did you read this ? )
Sorry only read after posting the program any way yes i will need help to improve the program to the maximum. TIME/G graphics etc...

Quote:
Originally Posted by paclep;
Perhaps it should be useful to offer a option to register some infos such as max acceleration. )
As mention on the first post ins not working at the moment
Any one give me tips to how make a txt file in C#?

As for the rest drive carefully
Reply With Quote

  #10  
Old 2nd September 2008, 02:46 PM
emre_aachen emre_aachen is offline
Member
 
Join Date: Jul 2008
Posts: 82
Default

Why don't you integrate the output signal with respect to time and write also the velocity of device? By this way we can also see the current velocity or also write further 0-100km acceleration values....
Reply With Quote

Reply

Tags
gforce gravety

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:53 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.