[android-developers] Re: How to ues getRotationMatrix to translate the Sensor.TYPE_ACCELEROMETER values from device coordinate to world coordinate?

2010-03-03 Thread Lotuz
> pitch = Convert.radToDeg(values[1]); > roll = Convert.radToDeg(values[2]); > > } > > } > > }; > > On Mar 2, 9:39 am, Lotuz wrote: > > > > > I'm trying to translate the accelerometer values from t

[android-developers] How to translate the accelerometer values from the device coordinates to the world coordinates?

2010-03-01 Thread Lotuz
I'm trying to translate the accelerometer values from the device coordinates to the world coordinates. It's not clear how to do this. I guess getRotationMatrix method can do sth about this,but I am not sure how to use. Any help would be appreciated. -- You received this message because you are su