PDA

View Full Version : Establish standard for G-Sensor calibration


Diplomate
18th July 2008, 06:44 PM
Here is an idea: a lot of people are unhappy about the fact that their G-Sensor is out of alignment, and that this may negatively affect apps which may be developed in the future (or which are already under developemnt) and which rely on the sensor for something critical. Though my device does not suffer from this, I can fully understand them!

However, today the only app which uses the sensor is Teeter, for which - frankly - this mis-alignment is not a huge issue! :) The reason I say this is that this app would fall outside of what I propose below...

So, here is my idea: why don't we set up a simple standard for the G-Sensor calibration, to be stored in the registry in a dedicated set of keys, and develop a quick and simple application to calibrate it and store the values in there (much like was done in BubbleLevel)?

As long as all developers here agree to use these values and stick to the standard... voila! We can all have a calibrated G-Sensor, which any future program will know how to read correctly (by correcting the values it gets with the offsets stored in the Registry to get a perfect reading).

What do you people think (especially all you developers out there)? :) Anyone care to volunteer a registry location and some key names?

Susurs
18th July 2008, 10:34 PM
That would be really great :)

svenso
19th July 2008, 01:34 AM
that's exactly what we need...

Instead of using HTCSensorSDK.dll we could create a HTCCalibratedSensorSDK.dll (for example :p)

Exactly same interface, but calibrated... The developers only would have to change their dll names...

I did the day before a such dll for testing purposes, and its really simple (I even successed in 'calibrating' teeter when overwriting the original one..).

I think this is the thing we have to do...

Other inputs?

Sven

amirk142
19th July 2008, 09:56 AM
after i installed gsen my g-sensor dont work! when i try to play teeter the ball is stuck up and only moves left to right. also it opens my ktcalbum upside down. can the touchflo be reinstalled maybe? any idea?

Diplomate
19th July 2008, 11:53 AM
that's exactly what we need...

Instead of using HTCSensorSDK.dll we could create a HTCCalibratedSensorSDK.dll (for example :p)

Exactly same interface, but calibrated... The developers only would have to change their dll names...

I did the day before a such dll for testing purposes, and its really simple (I even successed in 'calibrating' teeter when overwriting the original one..).

I think this is the thing we have to do...

Other inputs?

Sven

This sounds live a VERY good idea. Do I understand you correctly, that you actually have a basic version of the DLL already done???