I'm trying to find out how could I start to implement sensor fusion on the iPhone. I've started from this talk from David Sachs:
Sensor Fusion on Android Devices
Although David's talk is very illustrative, it doesn't show any code (it makes sense). I've seen both the GLGravity (to extract the gravity vector) and the AccelerometerGraph examples, but I need some help or at least guidance on how to combine the accelerometer, gyroscope and compass inputs so that the result is similar to what David shows.
Thanks