I am trying to get optical flow working. I have a Matek 3901-L0X. The lidar is working, and I am seeing optical flow data in my logs, so I know it is working. However, Mission Planner seems to be having a strange issue when displaying the data. The vertical zero point of my logs seem to be different.
Also, I tried enabling loiter. When I’m on the ground it will not arm in loiter mode, it complains that it needs a position estimate. If I switch to loiter in the air, it will start drifting and then if I try to counter the movement it causes it to fight me even more.
Here is a log I just pulled. I just armed in stab mode and rotated in X and Y axes manually to check the optical flow logs. Can anyone help me figure out what I need to adjust or change?