if you’re referring to the physical height of the rangefinder from the ground, it’s about 2cm. I also tried lifting the drone up with my hand to make sure it’s higher than 2cm from ground and nothing really happened.
Also Related: My RNGFND1_MIN_CM = 1
Re Geofencing: No Geofencing configured nor activated.
Yes, so I put it at 1 & 5 cm; it didn’t change anything.
Also, I gotta say, when I installed a GPS/Compass module, and got GPS fix, the PreArm: Needs position estimate goes away and I was able to arm. Once armed, I switch EKF source to the OptFlow sensor and it successfully switched to PosHold, however, it doesn’t seem to work. the drone was drifting away and no correction was made to bring it back.
I performed the Log based Calibration, and set up parameters (Attached) as shown in the Optical Flow Sensor Testing and Setup¶ page. Kind of out of ideas at this point.