Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Documentation - Add Baro and Vel PID tuning guide. #203
I've got a afromini 32 which I've been using in a 230 size quad for about a year, but never bothered with altitude hold as I didn't really need it. Now I wanted to do some video and alt hold seemed a good idea. I upgraded to firmware 1.90 and tried all values of P from 5 to 25.5 but nothing seemed to make any difference. I looked at the barometer graph output and saw small changes if I moved the quad up and down rapidly but ZERO changes if I moved the quad up and down slowly. This ties in with what I see when flying it, no sudden height changes but doesn't hold a set height at mid throttle. To prove the barometer is OK I put baseflight on and the graph produced the expected output when moving the quad up and down. In a test flight on default settings the alt hold was good but not perfect. Can anyone suggest what I am doing wrong as I would prefer to keep cleanflight?