Using pixhawk, whether using latest stable build or master build, altitude hold is not working properly.
Right after switching to altitude hold mode, drone starts stair down like descending.
Below is a log when this happens.
As you can see in the plot below, the drone does not keep the altitude and saw like movements.
When running with APM, there is no problem flying in altitude hold mode.
Is there any reason doing this?