I am using a pixhawk 6c mini for my quadcopter. When i engage land mode the quadcopter is drifitng. Can any one tell me what is the fix for this, also i am using a optical flow sensor and a range sensor, is there any way possible to use the flow sensor and distance sensor in the land mode.
Please note: There was no gps connected to the flight controller only a optical flow and range sensor
The drift is likely due to how PX4 handles position estimation during descent. Since you don’t have GPS, the flight controller relies entirely on the flow sensor and range sensor, and sometimes these sensors don’t provide consistent data during landing
Please check if the drift issue is persistent in position mode as well
And the FOV of the Lidar is clear and on a flat surface, sometimes a bumpy surface will lead to such drifts
Ensure the EKF2 parameters are changes to use both optical flow and Lidar sensor
Ensure the optical flow sensor is correctly aligned
Please feel free to come back with more questions, and please attach a pic on how have you mounted the module.
This is new, I use the same Lidar and the landing is pretty straight, yet what is the EKF2 paramteres being EKF2_RNG_CTRL Enabled
EKF2_HGT_REF Range sensor or any changes and whne you mean drift how much like 0.2meters drift?? TBS Discovery or a clone of it? Happy to see that after a while - Nice build
Tried to get the original discovery but could get it because of imports and stuff
so yes its a clone of it, i can share the video in a google drive here.