Currently, I just apply the MB1242 sonar sensor on my drone for collision prevention of PX4. But, I met some wired flight behavior when I’m flying my drone.
The collision prevention mechanism is actually work, but when there are no any other object in the front of drone (like flying straight forward), the drone is somehow go and stop instead of moving directly smoothly. Besides, when I’m flying on any other direction such as backward, it doesn’t hanppen.
I have tested on both generic multicopter and standard VTOL airframe, both happened. The most wired things is that the log file show that the distance sensor doesn’t detect anythings or even detected but not enough to trigger the collision prevention.
So, I want to ask is there any parameter of configure could help me deal with this problem. Or the actual reason cause this happen (such as EMI, vibration or setup of sonar sensor).
The flight reviews and video are attached here for reference.
Any help is appreciated.