yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV Themes and Apps] Ikari:
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/Ikari-PtPocketGForce.cab
[Touch Diamond, MDA Compact IV Themes and Apps] charly_mx:
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 :)
[Touch Diamond, MDA Compact IV Themes and Apps] dave:
Nice one, thanks.

Will have a try.
[Touch Diamond, MDA Compact IV Themes and Apps] emre_aachen:
I've been waiting for this program since Ikari has promised to write... Thanks Ikari... will feedback...
[Touch Diamond, MDA Compact IV Themes and Apps] haggz:
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!
[Touch Diamond, MDA Compact IV Themes and Apps] Caspertje19:
You did get your help! Wonderfull, will download it and have a drive in my car, nice !:):)
[Touch Diamond, MDA Compact IV Themes and Apps] cgeboers:
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 ?
[Touch Diamond, MDA Compact IV Themes and Apps] paclep:
Hello.

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

Thank you for this app.
[Touch Diamond, MDA Compact IV Themes and Apps] Ikari:
I'm not sure about that i whant the total not the movement total.

Sorry only read after posting the program :p any way yes i will need help to improve the program to the maximum. TIME/G graphics etc...

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 ;)
[Touch Diamond, MDA Compact IV Themes and Apps] emre_aachen:
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....
[Touch Diamond, MDA Compact IV Themes and Apps] haggz:
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_(spatial)#Length_of_a_vector )
[Touch Diamond, MDA Compact IV Themes and Apps] diamondhtc89:
That's the idea. Adding them is just incorrect. Cause velocity is a vector, it can be expressed as its moduli times a unitary vector. Taking the derivative with respect to time we will find two sources of acceleration: the one caused by change in time of the modulus (acc) and the one due to the change in direction of the unitary vector (curve). As the derivative of a vector is indeed a vector, you should calculate its modulus. Therefore the total should be what haggz said.

Your app works pretty nice despite that. I have liked it a lot. A way to fix this issue is to display both accelerations separately and then if you like to add them just like numbers at least we will be a little bit more pleased :D. Anyway congratulations for your great work. Keep it like that !!!
[Touch Diamond, MDA Compact IV Themes and Apps] langsuyar64:
Great for science projects. Great work :)
[Touch Diamond, MDA Compact IV Themes and Apps] Knochi:
I don't know how fast you can read out the sensors. But a great application would be a Time/Acceleration Diagram.

Currently we are measuring oscillations of huge masses.

Would be cool if i could monitor oscillations up to 150Hz.
[Touch Diamond, MDA Compact IV Themes and Apps] andrea89g:
Great Work!!!
[Touch Diamond, MDA Compact IV Themes and Apps] SkizZO:
....a quick Example with some text windows:
[Touch Diamond, MDA Compact IV Themes and Apps] Brevi:
Looks very nice, but I think a GUI with high contrasts would be better to read while driving.
[Touch Diamond, MDA Compact IV Themes and Apps] blazer2004:
Unjar to my computer, transfered to my internal storage, attempted to run the program, but it didnt work. It said I needed a newer version of net or something :confused: any ideas?
[Touch Diamond, MDA Compact IV Themes and Apps] Ikari:
Atm is 4hz but i can test the limit, also depends from the sensor itself.

download and install .NET Compact Framework 3.5 on your pda and it will work.

One more day and i will release a new version whit DB for the maximum values.

About a graphical interface im not sure how to make one cuz we have 3 axis to display plus the Total so im putting that to the side.

If any one have more ideas for this, new options, features or feedback, plz post.

My car is damage so i cant test everything correctly so make your contributing :)

Atm im working in a way to measure peek HP and making a time diagram that can be visualize on excel.
[Touch Diamond, MDA Compact IV Themes and Apps] cgeboers:
Max reading rate

I read somewhere, but can't remember where, that default the accelerator readings are performed every 200 milliseconds, which would mean that you have a max of 5 Hz. It is possible to change the value in the registry by using a program that "tweaks" it, but I don't know what it would mean for the battery life.

Maybe your program could set the readings faster while it is running, but I don't have a clue how you would have to do it.

Never the less, 150 Hz might be a bit too fast for WM6.1, even with a fast processor ?
[Touch Diamond, MDA Compact IV Themes and Apps] JosJ84:
i think so...try it.
[Touch Diamond, MDA Compact IV Themes and Apps] Ikari:
Hi all, i know that i had vanish and most of you start saying this application was stoned.

The reason i stop appearing is that i had change my job and lost all (if any) free time i had.

I dint what to but if some ppl request it i may post my source code for other to continue. I just don't want some one to pick up the code (or parts of it), change the name and start selling it.

I really want to continue codding and i now have a friend that fly in a none motor plane (don't know how to call it :P) and i made some tips to use the program in aircraft.

So this is it, i will continue to code but very litlhe and from time to time, any update will always be release here and i will create a ftp so any change made (alpha and beta) will always be out to the public.

Also i would like to know how many ppl use my program this days.
[Touch Diamond, MDA Compact IV Themes and Apps] chail(HTC):
here here :)

and i would be very interested in the source. even if i probably can't continue programming (skill and time)

if you do not want to make it public, i'd gladly accept the section of the gsensor integration via pm or mail :p i find it highly interesting
[Touch Diamond, MDA Compact IV Themes and Apps] grasshope:
I would Love to continue this little project if it was code in C#. I am very interested in how you read an measure the data.
[Touch Diamond, MDA Compact IV Themes and Apps] dhs_HORB:
Hi!

I study mechanical engineering and use Pocket GForce with a HTC Diamond.

In the course of a student research project I'll develop a measuring method for engine performance using a gps compatible pda. This is a really good software. I really like the data logger. It's easy to confirm the data into excel and analyse them. The first software wich really work!
[Touch Diamond, MDA Compact IV Themes and Apps] rosenhauer:
There is a set of DLL's to make the omnia appear like a HTC device with Acc. http://www.modaco.com/content-page/272252/games-for-the-omnia-i900/page/640/#entry972945 post 650.

Note: the above is a newer release than the one referenced in post 174.

The only issue is that the graphics are for 240x320 not the 240x400 that the Omna has.

Would it be possible for a future version to be skinable? Or at least adjust itself for the different screen sizes. See the attached screen shots of the old and new versions.
[Touch Diamond, MDA Compact IV Themes and Apps] rafalhav:
If it is possible I'm interested in source code of this app. I think that if more ppl take care of it there would be more chance to achieve something. So if you could e-mail me project I would be glad :)
[Touch Diamond, MDA Compact IV Themes and Apps] sjfehr:
I got this running on my [Verizon] Samsung Omnia (installed .net 3.5 and HTC drivers v0.3), but the g-force values are off by a factor of 0.5; what should be 1g of acceleration is showing up as 0.5g in all axes. Any chance of getting an Omnia version? Sounded like it was pretty easy with the updated drivers. Failing that, is there any way to otherwise manually calibrate the accelerometer so that it works properly with the Omnia, short of mentally doubling all the values? (I tried installing MoasisV's gPC Omnia, but I'm having issues with it, too.)

Bugs:

1) Selecting "Big Left/Right" from the menu displays Acc/Brake instead.

2) Unchecking "use km instead of miles" leaves "km/H" in the display.

Thanks for writing this, it's very cool :) What would be REALLY awesome is if there was some way for this data to be overlaid onto the phone's camera, so it could be recorded onto the cockpit video while driving...
[Touch Diamond, MDA Compact IV Themes and Apps] minisaw:
i get an "ObjectDisposedException" - running both the latest beta, and one of the previous releases (0.15 probably).

the device is htc touch hd. version 0.15 has been working fine previously - i think that was prior to upgrading the device's ROM (to the one released officially by HTC).

call stack for this ObjectDisposedException is:

program.main > ctor > init component > sys.windows.forms.timer.set_enabled > *.timer._CreateTim > microsoft.agl.common.misc.handleAr.
[Touch Diamond, MDA Compact IV Themes and Apps] Max_Terrible:
I only came across this just now. I'm going to start using it as of tomorrow or the weekend :D

It looks like a really great application :D

Thanks for the time and effort you've put into this and hope to see it's further development :D
[Touch Diamond, MDA Compact IV Themes and Apps] stevo1985:
hey

hey dude iv got a htc touch diamond an i downloaded the .net compact framework 3.5 an it just says error 2 when i try to install it why does it do that?? i really want the pocket gforce on my phone to work can u help??
[Touch Diamond, MDA Compact IV Themes and Apps] johny.mnemonic:
One that still hope...

Hi Ikari.

THANK YOU for excelent work!!!

You wrote a long time ago, that you have finished 0.25 version with all the functions of previous versions and that only thing that remains to do is to test it for bugs.

Is there any chance you will publish this non beta 0.25 for us? Even if you found some bug, you can release it as 0.25RC;-) still better than nothing...

And I also have a proposition for you.

If you are short on time but don't want to loose control on this project by giving source to other people, you can just publish small portions that needs fix/rewrite. I am sure there are lot of people here, that would like to help you finish this amazing app.

Anyway, thank you again for your work and hope you will find some free time for your hobby - and also for us;-)
[Touch Diamond, MDA Compact IV Themes and Apps] Ikari:
Source Code realeased

Hi all im truly sorry that i have lost all my spare time and stop coding Pocket Gforce.

Im releasing the source code from the last official version and a experimental one whit a filter that remove 90% of the noise, but also remove some parts of the code because i was cleaning it .

The code is in C# and have lots of trash in it and most variables are in Portuguese so it can be a little difficult to understand.

For using it don't forget to get the WM6 SDK from the Microsoft site, its free.

If you do use it plz mention my name (Ikari-Pt) and my email (rjsmsampaio@gmail.com) on it.

You are not allow to use it in any way (even tiny parts) and sell it.

Any question i still access Xda all day so i can try to quick answer, just don't ask "how i use this" :P

Ps.: i would like any one that download the source code and use it to post any developments that had made so others can use them also.

Good luck to all and i still dint abandon the project so im just looking for some spare time to start making a clean new one.

http://rjsmsampaio.googlepages.com/GforceSource.rar
[Touch Diamond, MDA Compact IV Themes and Apps] rosenhauer:
Link to source code is dead.

Can you please re-post the source code.
[Touch Diamond, MDA Compact IV Themes and Apps] m_ihab77:
Thank you for your effort mate, it looks like the download link is not working, could you please re-post

Thank you again :):)
[Touch Diamond, MDA Compact IV Themes and Apps] Ikari:
Actually i take it offline because since 24th July more than 300 people read this thread and the source was downloaded 97times and no one post anything about it, and i feel kind of sad because after lots of request no one cares, just what better software whit out paying or just what the source and sell the program them self (i already find copy's online of it)

So i will only share it by personal request.

I already start making simpler programs based on Pocket Gforce (not all features but whit a modular system). And possibly i will post one of them this weekend.
[Touch Diamond, MDA Compact IV Themes and Apps] 66mustang:
I love this software and it has so much potential. Keep up the good work - I wish I had your skills.
[Touch Diamond, MDA Compact IV Themes and Apps] Ikari:
New Software

Hi all i develop last month 2 new app base on Pocket Gforce, but aperently no one notice :(

this one is getting very difficult to continue so i move on to newer/ better ways to develop so plz check the new ones.

Most likely this one will be abandon is some people start using the others.

Pocket GForce v2 [Works in all resolution and any devise]

http://xdaforums.com/showthread.php?t=547657

Push [Simple program that shows direction of movement/Gforce]

http://xdaforums.com/showthread.php?t=546423

So plz read the treads and give feedback on them. I really want to continue developing, but only if some people really want/support it.
[Touch Diamond, MDA Compact IV Themes and Apps] Random25:
Many thanks! Think this is great! Will test it out this evening.

Btw, would it be possible to have a torque reading?
[Touch Diamond, MDA Compact IV Themes and Apps] mkosse:
source code

Hi,

really nice software. i would like to have the sourcecode. can you send it to me?
[Touch Diamond, MDA Compact IV Themes and Apps] Archindar:
Good work!

I have used Pocket GForce a while now and i can only say that you hve done a really good job.
[Touch Diamond, MDA Compact IV Themes and Apps] kenang83:
cool.........thanks man
[Touch Diamond, MDA Compact IV Themes and Apps] shreddiquette:
Hi. I have a problem with the files. I did the download on Page 1. But there is no .cab file. So i did a download from an other page. It runs. Now i´m looking for the spped an the time from 0-xxx. What a have to download for these options and how i have to install?
[Touch Diamond, MDA Compact IV Themes and Apps] ajhvdb:
Hi,

Does anyone know how to contact the developer? I'm looking for the released source to compare the sensor readings from my application with this one.

If anyone could help (hopefully the original developer) and send a zip file to xdasleepsence@gmail.com

When my application is finished (and finally working) I will send you a copy too.

Thx.
[Touch Diamond, MDA Compact IV Themes and Apps] Ikari:
I will no longer work on this version, only in Pocket Gforce2

The new version (Pocket Gforce2) doesn't have GPS implemented yet so its not possible for the moment to port functions from Pocket Gforce1

http://xdaforums.com/showthread.php?t=547657

Im the developer of Pocket Gforce 1 and 2, initially there was only my app for measuring Gforce for this purpose (driving/rancing) for windows mobile.

After i release the code 2 more apps appear and whit some reverse engineering i realize that most of the code (filtering noise and formulas) were mine, and the programs are paid and there is no mention of my name any were on their app.

So im a bit reluctant of releasing the all the code but if you need help whit formulas or other coding il be happy to help.
[Touch Diamond, MDA Compact IV Themes and Apps] ajhvdb:
Ok, great your still alive and well :)

I don't need your latest version. Don't care how it looks. I want to add some some log code and run it.

I just want to compare the values after running it it little while with SleepSense. Could you send me a email, I will reply and this way I can send you by email some log files I have. Thx.
[Touch Diamond, MDA Compact IV Themes and Apps] Ikari:
I have another program that just makes a xls file whit the acc values asap.

Some one ask that some time ago, something like a BlackBox, could that help?
[Touch Diamond, MDA Compact IV Themes and Apps] ajhvdb:
Yes, of course. if it can run for a few hours there will be enough data to compare. if you are sure it will give the same vector readings as the othetrs , i'm ok.

I asked the same at someone who uses ther omnia sdk. I just tested it and all the sensor readings are complety different from HTC... is quess it's normal in WiMo land but what is the base for your formula for calculating g-forces.
[Touch Diamond, MDA Compact IV Themes and Apps] mmiller7:
Same problem with v0.15 on HTC Touch Pro2
[Touch Diamond, MDA Compact IV Themes and Apps] iti_uk:
Great app!

Just being pedantic, but thought this might make your program a little more "professional" for vehicle applications;

The industry standard for vehicle directional axes is;

X is fore/aft (positive pointing rearwards, negative pointing forwards - I suppose this would be positive G for acceleration and negative G for deceleration)

Y is left/right (positive to the right, negative to the left)

Z is up/down (positive up, negative down)

Chris
[Touch Diamond, MDA Compact IV Themes and Apps] chaoszone:
Hi,

I really love your app, I am still using Version 1 of it, since the v2 does not seem to start the loggin process for me.

Anyway, can you tell me where the logfile is saved? I looked almost everywhere on my phone but could not find it.
[Touch Diamond, MDA Compact IV Themes and Apps] PauloJCarmo:
Olá e parabens

Olá,

Não é normal conseguir falar português por estes lados :)

Acho que o log não está a funcionar, porque coloco um sample rate de 50ms e mesmo assim dá apenas meia dúzia de valores.

É fácil por uma coluna com o timestamp?

A aplicação está excelente.

Obrigado
[Touch Diamond, MDA Compact IV Themes and Apps] surur:
Here's a video of the app in action - good fun.

http://wmpoweruser.com/?p=858

Surur
[Touch Diamond, MDA Compact IV Themes and Apps] bilybob:
Sampling rate

In my experience, sampling every 40ms does not work. Sampling every 45ms (or anything higher) works.
[Touch Diamond, MDA Compact IV Themes and Apps] Ikari:
thx for sharing, dindt have time to test it myself last days.

If any one else have videos post them here.

Have anyone test the logging?and how would you like it to be?

I need some ideas for that

And also ideias gor a better skin for the program, colors etc.

Some ppl say to me that i shoud have a donate buton, and whondt mind pay me a coffe for the development of these and other programs.

So the program is free but i dont mind some extra for the tyres used during the test's :D
[Touch Diamond, MDA Compact IV Themes and Apps] chrism225:
ikari, this is great work, i'll certainly send you a coffee sometime. Regarding the logging, for me i think just store time in ms in column 1 and then x,y,z and vector sum in the following 4 columns in a simple text format like csv. It would also be nice if there was an option to set the capture rate, for me personally, up to 50ms would be great, if thats possible from the hardware.

keep up the good work

Chris
[Touch Diamond, MDA Compact IV Themes and Apps] jackblaq:
Just a suggestion would it be possible to make it installable with AppToDate support? (http://www.modaco.com/content/apptodate/267789/developers-how-to-include-apptodate-support-advanced/) love the program GREAT WORK! :)
[Touch Diamond, MDA Compact IV Themes and Apps] jdbarclay:
Keep the good work going.

Have you seen this? http://dynolicious.com
[Touch Diamond, MDA Compact IV Themes and Apps] emre_aachen:
Yeah maybe it's better to repeat one more time... is it possible to integrate the output (just calculate the area under the curve we see on excel) ? That would definitely show our current speed as well.... and again telling, then we can make a 0-100km acceleration test....

Then i can post the further equations to calculate power of your car... (ofcourse you need to know your car's exact weight in addition to estimated value for the losses in your power train)...
[Touch Diamond, MDA Compact IV Themes and Apps] Ikari:
Yes i did but only after starting make my program, :P any way lots of ppl send me messages say the same thing, so i just say two thing.

"My have the same accuracy and its free"

"Trie to find out the formulas for geting speed and HP from Gforce"

im making some effords to make the program better every day, but the i have a full time job so its not easy.

The log file can help any one that wants to try to get the speeds form them.

Il keep working and posting updates asap.
[Touch Diamond, MDA Compact IV Themes and Apps] marex86:
Very nice application,

As i am not experienced with programing ( give me some time i am new to this PPC world) i cant offer you help with programing, but if you need help with design you can count on me.

Btw did you though maybe to get speed from GPS??? It would be easier, maybe ;)
[Touch Diamond, MDA Compact IV Themes and Apps] Ikari:
I never made a program for a WM since last week :P

Any way you can make some skins and post them...

The gps program is that if you're driving less then 30km or something you cant get the speed preoprerly, and jsut for you to imagine, as soon i get this prodject beonde v1.00 i will star making a program to correct the GPS data :P but that for another thread.
[Touch Diamond, MDA Compact IV Themes and Apps] marex86:
had to try one before i go to sleep, this one was on the run, but i am not sure what you need, i like carbon it maybe goes together with cars and GForce. It can be made how ever you like, it is much easier when somebody tell you i want this and that ..... :D

button is normal, press is when button is pressed, just to be clear just one example