Workaround for mavlink proximity sensor prearm check?

Hello,

I am computing distance on the ground station and sending them over mavlink. I want to use BendyRuler and have also set PRX1_TYPE to MAVLINK. I don’t know if this is really necessary since I’m sending the distances over mavlink but if it is, then I run into a problem of PreArm checks not detecting the sensor.

What is the correct approach? Should I just disable PRX1_TYPE and just send OBSTACLE_DISTANCE messages over mavlink for BendyRuler to work? I initially set PRX1 because otherwise I couldn’t see the proximity data in the Proximity GUI.

Thanks!

you should be sending obstacle distance messages constantly even if nothing is detected.

2 Likes