Distance sensor orientation + Firmware

I use a distance sensor MB1242 with PX4. As default when we add a distance sensor, the orientation is forward for detection colision. I want change the orientation so that the sensor has the orientation “down” (distance between the vehicle and the ground).

The only one parameter use to change the orientation is “SENS_MB12_X_ROT” but the rotation is around the Z axis (yaw). I saw that the orientation of the sensor is given by the firmware but I don’t know what I am supposed to change. If someone can help me.

Thank you !

You could try to set the param to the number you need from this list and that might work.

The parameter must be between 0 and 7. I can’t write 25 (down)

In QGC you can use the “force safe” option.

1 Like