PMW3901 enable

Hi all,
I have a UART version PMW3901 and parameter SENS_TFLOW_CFG does not exist in vehicle setup parameters.What could be the issue?

Thanks!

What is your flight controller hardware? Maybe the driver for PMW3901 is not build for the board target you’re using, in which case you’d need to build it yourself.

Pixhawk 6X (ICM-45686)

Should be in the v6x: PX4-Autopilot/boards/px4/fmu-v6x/default.px4board at e194a52907083783f7e67ff93504016ca1275ce8 · PX4/PX4-Autopilot · GitHub. Which PX4 version do you use?

1.15 (stable) and I have connected it to serial TELEM3 PORT

What do you get when you type thoneflow in the shell?
You can try to start it manually with thoneflow start

thoneflow does not exists , but supplier told me there is a bug in newer PX4 firmware for Pixhawk 6X series flight controllers

Ah yes, it’s not enabled on the v6x. You’d need to manually do it. For that add
DRIVERS_OPTICAL_FLOW_THONEFLOW=y
in

Then you can rebuild and flash it.

Because I’m having trouble rebuilding this, I’d like you to give me instructions for it if possible, on a window pc or RPI5
Thank you very much

Here you find the documentation for building PX4 code, and if you need further help I recommend you to ask on our discord or in our weekly Q&A call