I see that in the Ardupilot source (libraries/AP_OpticalFlow) there is a driver to use the PMW3901 on SPI.
I would like to know if it will suffice to connect the breakout board to the SPI of an Ardupilot supported Flight Controller to use it or I am missing something.
@ppoirier I don’t know if the use of optical flow is in master or in some dev branches of inav, is been a long time since I used inav, I thought the important thing is the presence of driver in inav repo to understand the protocol of the CX OF module.
Anyway with the Matek F405 you will be able to test both inav and Arducopter: http://firmware.ardupilot.org/Copter/beta/MatekF405/
Hello, I am interested in trying this optical flow sensor (CJMCU-3901)because it is low cost and light weight. Has anyone tried it with a Pixhawk or a ChiBios board yet, did you have any good results? I have a Matek F405 so would like to try it, Thank you
Hello again, just a thought… not sure if any of the newly supported ChiBios F4 Boards have accessible SPI inputs, does anyone know? If not I’ll have to dig out my old Pixhawk. Or if the cheerson CX-OF is supported then could I use that over UART on a Matek F405? Thanks