Holybro PX4FLOW Kit and MaxBotix Sensor Combo

I have already given my entire limited knowledge on Optical Flow in the link below. However, there are others with much more knowledge and experience on this subject. As you may already be aware, a better sensor than the MB1242 will cost more.

Summary of Optical Flow Development in ArduPilot

You can also find for information in the Maxbotix Sensor Selection Guide or Sensor Selection Help.