Tried out this version for the first time today, two things I picked up on - my plane still seems to climb endlessly as there doesn't seem to be much/any autonomous control over it's pitch. If I manually throttle back then it'll come down but only due to the plane porpoising/stalling intermittently. How can I make this control over altitude more aggressive, just increase this "#define PITCH_P 1.5" or this "#define ALTITUDE_PITCH_MIN -1000"?
Perhaps I just missed it but the other thing that seems to have disappeared (moved?) is the "#define FLY_BY_WIRE_GAIN_ROLL xx". Has it's wording changed or has it been taken out/moved?
thanks
Graham
You need to be a member of diydrones to add comments!
Replies
I'm flying 2.6 with IMU and airspeed sensor (wihout the shield, connected straigth to ardu board) and in RTL mode my plane is constanstly gaining height.
Which parameters I have to change to correct such behaviour ?
regards,
cholo
Yes, that is an issue with that version of the code when you're using the airspeed sensor. The throttle gain overpowers the pitch gain. I'd amp up the pitch gain and see if that solves it. We'll tweak it in the next version...