Optical Flow MICOAIR MTF 01P problem

I’ve been working on a new project with a drone intended for indoor flight. I already performed the necessary calibrations with GPS and the drone flies perfectly in GPS mode. I installed the Micoair MTF-01P flow sensor, carefully followed the documentation, and completed all the required calibrations up to the base calibration log review stage.

Everything matches correctly in the logs, but when I configure the parameters to fly only with the flow sensor (even with 100% calibration in X and Y), the following happens:

  • In Loiter mode, the drone takes off and hovers.

  • As soon as I try to pilot it, it automatically switches to Land mode.

  • It lands and then does not allow me to arm it again.

According to the documentation, everything seems properly set up, so I would really appreciate your help in figuring out why this issue occurs and what I might be missing.

Thank you in advance for your guidance.

A link to a .bin log file will always need to be posted for a question such as this.

sorry, i forgot to upload it!
now is there

Just a quick reply here. What Flight Controller is this? Because fmuv2 is not right for any Arducopter supported Flight Controller. fmuv3, Pixhawk1 or Pixhawk1-1M depending on what you have there.

And you have output oscillation most likely from default vertical acceleration controller gains at default. And some other tuning issues.
Suggest fixing some basic stuff before troubleshooting OF.

thanks, for your answer Dave
im using pixhawk 2.4.8, flashed it with fmuv2, i think it also support fmuv3, but i don’t remember it

once in a time i flashed it with fmuv3 and it said it does not support it, but im not sure if is the actual FC, or another one that is laying in my worksite

Those all support either fmuv3 or Pixhawk1. If it’s a Radiolink version throw it in the trash.

2 Likes

Thanks for the info, i’m going to flash it tomorrow wiith fmuv3, and will see how it behaves

it’s not radiolink :sweat_smile: thanks in advance for your advice

I am using the MTF-01 (not the -01P) sensor and it works great for indoor flights. So I figured I would take a look and try to help here. Admittedly though I am still learning how to analyze logs.

With that in mind, am I seeing your log correctly? RFND[0].dist shows a max distance reading of 0.04 meters.

Are you getting an error when you are trying to arm after landing?

hello!
thanks in advance for your help
after autoland when using only OF, does not appear any error it only does not allow me to arm

without using the OF, it flyes pretty well and does not have any bad behavior

Well…

it seems like the pixhawk was a pretty good problem, i tried to flash it with FMUV3 and gave me an error that does not support it, that it only has 1 MB Flash

so, flashed it with Pixhawk 1-1M

and it seems pretty good
but i change the receiver from an sbus to a ELRS DBR4 and the FC, after plugged in it only recognize it on mission planner as legacy FMU

so, i change to another pixhawk 2.4.8, flash it with fmuv3 and with the same receiver and everything works normal in the bench.

tomorrow i’ll test fly it and tell you, how it was

What’s your RNGFND_MAX_CM setting? Sounds like you’re hitting EKF Failsafe and your FS_EKF_ACTION is set to LAND.