Hey Guys!
I have two questions:
1. My altitude hold swings up and down by 20-30cm using the ultrasound sensor.
My pids for ALT_HOLD are: P=0.35 I=0.01 D=0.4
Which one should I change and by how much?
2. In loiter mode, the copter keeps overshooting. by about 8m.
My pids for LOITER are: P=2.40 I=0.01 D=1.00
Once again, which should I change and by how much?
A million thanks!!!
Replies
I might still be understanding the code wrong, but I don't think the D term is used at all in the current alt hold algorithm. Jason?
Hi,
Just found a bug in alt hold that prevents tuning. Please check back in a few hours for a fix to that one.
If it's a fast overshoot lower P to something like 2. If it's a really slow overshoot. Increase P by a few points.
Jason