Hi ArduPilot community,
I would like to get the rangefinder status like the enum class Status in the AP_RangeFinder.h via mavlink. Is there any kind of mavlink message to parse that contains this?
For more insight I am using a downward facing lidar on a quadcopter (pixhawk cube orange) for terrain following and for the LAND/RTL modes. It is working well. I just want to know the state of the lidar to show it in a custom GUI we developed. This is for preparations of a certified drone. Therefore we need to show all the sensor states. In the logs I see the RFND instance containing the Dist and Stat. It would be nice if I can parse that on the fly.
In the message SYS_STATUS I already parsing the bit-masks but it does not tell me detail like in AP_RangeFinder.h.
Any suggestions would be welcome.