Tag Archives: iPhone
Threading in iPhone programming
As Kdl pointed out, it is a good point to remind the threading skeleton proposed during the Stanfor CS 192P iPhone programming course. // LetsMakeAThreadAppDelegate.m // LetsMakeAThread // // Created by Evan Doll on 10/27/08. #import “LetsMakeAThreadAppDelegate.h” @implementation LetsMakeAThreadAppDelegate @synthesize … Continue reading
Accelerometers and Flight Dynamics
roll = -arctan2(acceleration.x, -acceleration.z); pitch = arctan2(acceleration.y, -acceleration.z);