FORUMS
Remove All Ads from XDA

[APP]Pocket GForce [Source code released in p20]

98 posts
Thanks Meter: 0
 
By Ikari, Member on 1st September 2008, 10:14 PM
Post Reply Email Thread
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
 
 
1st September 2008, 10:41 PM |#2  
Senior Member
Thanks Meter: 1
 
More
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
1st September 2008, 10:56 PM |#3  
dave's Avatar
Senior Member
Flag Bussero, Italy
Thanks Meter: 2
 
More
Nice one, thanks.

Will have a try.
1st September 2008, 11:00 PM |#4  
Member
Thanks Meter: 0
 
More
I've been waiting for this program since Ikari has promised to write... Thanks Ikari... will feedback...
1st September 2008, 11:22 PM |#5  
Junior Member
Thanks Meter: 0
 
More
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!
2nd September 2008, 07:45 AM |#6  
Senior Member
Flag Purmerend
Thanks Meter: 33
 
More
You did get your help! Wonderfull, will download it and have a drive in my car, nice !
2nd September 2008, 08:44 AM |#7  
Member
Flag Schriek
Thanks Meter: 1
 
More
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 ?
2nd September 2008, 09:23 AM |#8  
Junior Member
Thanks Meter: 0
 
More
Hello.

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

Thank you for this app.
2nd September 2008, 12:46 PM |#9  
Ikari's Avatar
OP Member
Thanks Meter: 0
 
More
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
2nd September 2008, 01:46 PM |#10  
Member
Thanks Meter: 0
 
More
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....
2nd September 2008, 04:17 PM |#11  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by Ikari

I'm not sure about that i whant the total not the movement total.

But you cant just add perpendicular forces since a force is a vector. Break/acc acts straight forward (backwards is "-forward") while curve acts straight right (again, left is "-right"). Draw 2 arrows on a paper, one for acc and one for curve. Then draw the resulting vector. To find the length (in this case the magnitude, or what you call total) use the Pythagorean theorem

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


( http://en.wikipedia.org/wiki/Vector_...th_of_a_vector )
Post Reply Subscribe to Thread

Tags
gforce gravety

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes