Hi - and apologies in advance - I'm just getting into the Arduino experience and hence there may be plenty of schoolboy errors.
I've got a Uno board and a LSM303 DLH Accelerometer and Magnometer. I've got it to work using the great download libraries (tilt-compensated compass, calibration, raw output), but what I'd like is to calculate the pitch and roll angles if possible.
I've done a fair amount of searching (although not always knowing what I'm looking for), and an application note suggests that it's possible, but the formulas are confusing me.
I've also seen a video of it running here...
...but it's in Russian without further information. I think an issue I'm having is that I'm not entirely sure what the "raw output" function is actually giving me and what I can do with that.
I don't mind putting the work in, but I've hit a bit of a wall on where to look and what to look for. Any help gratefully received.
Simon (edit to tidy youtube embed)