quadcopter gained altitude as soon as i change the mode to altitude hold, i reduced the p gain of velocity controller and pos controller as stated in the ardupilot documentation but still the altitude gained to 15 m from 2m in 2 seconds, in stabilize mode the fligght is good enough and i didnt observe any oscillations as well. thats why i moved to altitude hold. even in logs the desired velocity down is positive and the the actualy velocity down is negative means controller is not correcting the velocity down.
drone specs: 5055 props. 3 bladed, f405 speedybee fc, battery 1300mAHs 6s lipo 100C
The outputs are oscillating badly. The Rate Pitch & Roll D gains are still at default, lower them. And MOT_SPIN_MIN is at default also. Follow the Wiki for setting motor ranges.
I didnt know this that’s why. Last i made a copter it was 2 years ago and I didn’t face these issues. 8 had the same motors and props and bettery. But this time things are different
I did try the parameters suggested for 4.6 and belo as well but the result was same. Si i assumed i am using wring parameters for the current version i am using