Severe problems with AC 4.0.3 - Drifting, FlowHold, logging,

I have taken another look at this and all I can come up with is the instability in flow hold may be because the altitude is deviating. This causes the gains on the flow hold to increase and that could be why you are seeing the instability. As this gets worse you then see the loiter start to drift.

If this is what is happening I can’t say why. Again this is one for Paul.

Can you tell me which flowhold device you have?
@Alberto_Ds which flowhold device do you have?

Hi Andy,

I have this:

So this uses the onboard gyros (CX-OF). The PX4Flow uses a separate gyro, I am wondering whether this is what @mtbsteve has.

Either way we are averaging gyro values over some time period in the driver which to me sounds like a very poor-man’s filter which we should actually replace with filtered gyro values. This would also mean adding a filter/notch filter to the PX4 driver, but that seems pretty doable.

@priseborough, @Leonardthall thoughts?

Andy yes I am using a PX4FLOW sensor