LOCAL_POSITION_NED estimation messages sometimes stops during takeoff

Dear all,

I am using Cube Orange with PX4 firmware 1.12.3 and an onboard computer on my drone. I also use a terabee range finder and hereflow optical flow sensor connected to Cube Orange. Nearly 1 out of 3 flights, during takeoff, the estimations from PX4 (LOCAL_POSITION_NED message) stops and my drone destabilize. If I manually let the drone land, then the estimations start again. I would like to ask you what would be the possible causes of this message stop sending? Thank you again.

Best
Kagan