This is my quadcopter, running ardupilot 4.4.5 firmware. I’m flying in guided mode. The onboard computer keeps sending speed and position guidance commands to the drone. However, during the position guidance process, the log shows a sudden change in altitude, but this is not reflected in the data. At the same time, the drone’s throttle also suddenly changes. What is the reason for this?
Hi
Can you share the logs?
It might come from another sensor, you only showed GPS Alt
thanks
log:文件分享
ok,文件分享
Can you use another file hoster? this one ask me to connect
Thanks
Thanks
I assume you use a rangefinder, it seems to have stopped working during flight and output 0m after this:
This seems to be messing with your desired altitude and so desired climb rate that can cause the drone to want to climb or descend suddenly:
Thank you very much. I did turn on the rangefinder, but how can I set the ekf3 altitude data source to avoid this problem
It’s not recommended to use rangefinder as ekf source for altitude (EK3_SRC1_POSZ).
Rangefinder is used for terrain following if you want to keep your drone a certain distance from the ground but if your rangefinder is malfunctionning it can lead to strange behaviour..
What rangefinder do you use ?
Check these links :
ok Thank you very much.




