¡@

Home 

2014/10/15 ¤U¤È 10:13:48

iphone Programming Glossary: self.devicestatus

Using quaternion instead of roll, pitch and yaw to track device motion

http://stackoverflow.com/questions/19239482/using-quaternion-instead-of-roll-pitch-and-yaw-to-track-device-motion

YES NSLog @ Roll f degrees tempRoll NSLog @ Pitch f degrees tempPitch NSLog @ Yaw f degrees tempYaw self.deviceStatus setDouble tempRoll forKey @ DeviceRoll self.deviceStatus setDouble tempPitch forKey @ DevicePitch self.deviceStatus setDouble.. @ Pitch f degrees tempPitch NSLog @ Yaw f degrees tempYaw self.deviceStatus setDouble tempRoll forKey @ DeviceRoll self.deviceStatus setDouble tempPitch forKey @ DevicePitch self.deviceStatus setDouble tempYaw forKey @ DeviceYaw self.deviceStatus synchronize.. self.deviceStatus setDouble tempRoll forKey @ DeviceRoll self.deviceStatus setDouble tempPitch forKey @ DevicePitch self.deviceStatus setDouble tempYaw forKey @ DeviceYaw self.deviceStatus synchronize savingGyroOrientation NO checkingGyroOrientation YES..