Hi everyone!
OK so what i want to do is use one "dual axis gyro" mounted on my RC airplane to know the orientation, & I would like it to act also as a RC "correctional" gyro. The first part is easy enough, but does anyone have any code that I can use as a "correctional" gyro? In other words it gives me the orientation and if the wind rolls it over to the right, it will correct and roll back to the left. I could acheive this by using my dual axis gyro for orientation and then attaching two external R/C gyros, but i wouldn't like to pay ~50$ for each external one. It would have to correct within a few hundreths of a second, but I need to know how to start; I was thinking I could have a code that takes in the roll(aileron) input, converts this to a percent and then compares that number to how fast the airplane is rolling, in percent. if the rolling is faster than what it should be it will correct for it.
If anyone doesn't understand what i am trying to say please let me know, I will try to rephrase the post [smiley=cheesy.gif]
Thanks for any help!