Got a new rudder/elevator easystar back in the air today, and when I switched to fly-by-wire it didn't roll-over and dive! Making progress.
The stabilization appears to be working, but it's over-correcting itself. The nose wobbles in a 12" circle when activated.
I've read through the manual, and searched on here, and it appears that I need to learn more about PID gains to reduce pitch and roll.
This is going to be my next stab in the dark. In looking at other *.h files, what I'm trying doesn't appear to be necessary, but it's where the docs seem to be pointing me.
pitch_P, pitch_I
roll_P, roll_I
Do the sensors have to be completely level at startup? ie: can the plane be leaning on a wingtip? I'm using FMA XY sensors for my XY and Z, and they're as level and plumb as I can make them on velcro tape.
John,
I tested my XY sensor that I am using as a z with the Infraredboards software from the google repository. From this I discovered that the sensors that were working were the ones on the P-P axis marked on the sensor. I also found that covering the sensor nearest the P next to the FMA logo (does this still make sense?) with my hand gave the highest reading. Therefore I have, rightly or wrongly placed my sensor in exactly the same place as yours but rotated 90 Deg anticlockwise when looking at the plane.
I have just installed the pitot tube in the nose and have not flown it yet so whether I am correct remains to be seen.
OOOOOoooooooK....I turned the sensor the right way. (Duh)
Still didn't want to come around too easily, so then I bumped the roll_P to .35 and pitch_P to .65, both I's at .0.
Did a fly-by-wire flight, and it's MUCH more stable than it was with the same P settings when the sensor was turned wrong. Also responded much better to stick input.
Put the GPS in, and still didn't want to come around very well. Still need to test it some more.