I am observing distortion in the optical flow camera when running the Poky Aero 1.6.1 O/S (BIOS 01.00.13). I had shown pictures of the distortion in a previous post.Optical flow camera distortion. At the time, we drew the conclusion that it was due to connector fatigue. However, we have done further research and the problem is definitely not connector fatigue. We plugged in a brand new camera and saw the same distortion even though the camera had only been plugged in once. That rules out connector fatigue.
We also used proper ESD mats and ESD wrist straps at all times. However, to test the effect of ESD, we took a working camera and zapped the camera directly with ESD (the jolt was strong enough to jump 1 cm and was visible). After multiple zaps the camera was still working with no distortion. Hence, the camera does not appear to be very ESD sensitive, which makes us inclined to think that ESD is not the issue.
Then we took the camera with distortion and tried to cool it with a fan. The distortion reduced a little, but did not disappear. If we heat the camera, the distortion definitely gets worse. When we put our entire drone in the freezer with a flashlight and stream the video to our PC, the distortion decreases until it disappears entirely. Hence, the distortion is definitely thermal related, even though the camera is never hot to the touch.
All of these tests were done with the Poky Aero 1.6.1 O/S. Not all cameras show distortion but we have seen the issue with multiple cameras now.
We then took the drone with the brand new camera that had distortion and downgraded the O/S to the Poky Aero 1.3.1 O/S. We did not change the hardware or camera connections at all. Running with the 1.3.1 O/S there was no distortion in the image, even over time.
It seems to me that the internal frame rate set by the Poky Aero 1.6.1 O/S (which I believe is 75 Hz) is too high and some, but not all, cameras are overheating and produce distorted output due to thermal issues. The Poky Aero 1.3.1 O/S, I understand, uses a lower internal frame rate of 30 Hz for the optical flow camera and that does not appear to cause thermal problems.
Is it possible to make this setting configurable or reduce the rate used in Poky Aero 1.6.1? We do not want to downgrade to the earlier O/S because of the improvements to 1.6.1, but we need the optical flow to work reliably, even if we have to work with a reduced frame rate.