How to get attitude of a device

Hi.

Does anyone know how to get attitude(roll, pitch, yaw) of a device with Corona SDK ?

iOS supports deviceMotion.attitude of CMMotionManager for the purpose.
Does Corona support it? Looks like there's no such APIs.

I tried to calculate attitude with rotation rates of gyroscope, but the result was very bad.
The rotation rates were noisy even if my iphone was not moved.

Have a nice day!

I think something here is lost in translation.

If the device has an attitude, I don't want to know about it ;)

cheers,

?:)

views:1393 update:2011/10/30 22:40:54
corona forums © 2003-2011