Hi! I’m trying to use OpenMV "H7 (FV 4.4.2) camera as an optical flow sensor for Arducopter.
Successfully connected it to the flight controller. But when I tried to calibrate it using this methodic: Optical Flow Sensor Testing and Setup — Copter documentation, the logs showed that the values from the optical sensor did not scale with the movement of the sensor itself.
I used script mavlink_opticalflow_1.py which I got from IDE 3.0.3
Can you help me with this problem?
Hi, that’s really just an example script. I’ve never used it with a quad copter. So, I don’t really know if it works at all. A user contributed it and edited it. If you check the github edits you should be able to see their user name and ask them for help.
That said, I’m not sure if it’s going to scale with the moment like you expect. I think it’s just meant to be used as a reference point to ground the accelerometer readings and prevent them from taking a random walk. E.g. optical flow will not diverge from random noise like how integrating accelerometer readings would… so, you should apply the readings here with a kalman filter to your accelerometer/imu readings.
Hello brother, I am also testing this, found that can not achieve hover, may I ask you continue to optimize