I’ve got a model air craft and right now I’m just trying to get something real basic sorted.
When the airplane starts to roll left or right, sort it. When we start to pitch up or down (climb/nose dive), sort it. Effectively, just something that’ll keep it all level.
Here’s my question, should I use an accelerometer or a gyro to do this?
Accelerometer seems like an obvious answer to me, as it knows which way is down, but I’m led to understand that this would not work very well on a plane (i.e. when in free fall, it reads 0). Is this the case or am I misunderstanding?
At the moment, I’ve got a gyro on it. But this will only tell me when the plane is rolling and when it’s not. It won’t actually tell me when the plane is horizontal.
So what’s my solution? Am I wrong about the accelerometer, that it won’t work in flight (please tell me I’m wrong) or perhaps there’s some solution that incorporates both, i saw a few things that had both built into them but I’ve no idea what for :-S
Looking forward to your replies
p.s. Here’s a link to the project blog http://blog.andybarratt.co.uk/?category_name=project-hera