I’m having challenges with Pixhawk altitude sensor. I have set GPS altitude as primary altitude sensor. reason to that is that I’m flying quite long flights, like 2 hours and barometric altitude is not reliable because air pressure can change during the flight time.
The problem is that sometimes Pixhawk changes itself primary altitude sensor from GPS to barometer and the reason might be that there is bad GPS signal for some reason. Anyway, I dont know this primary altitude sensor change at all and I cant see any indication about it from the Missionplanner screen or parameters or anywhere. So plane is flying smoothly and I am happy. Well… then sometimes plane suddenly crashes in the trees even the altitude seems to be high enough in the MP screen. And then I’m saying wtf … no, no not again ???
I have few MP logs where this situation is happening, so if anyone is interested to help with this issue.
Currently I’m using only barometric altitude and during the flight I’m monitoring the air pressure changes and update the altitude offset based on that. This altitude offset updating could be also autonomous but I’m doing it manually so far.