Can someone assist me in creating a new Lua binding, for the EKF flags?
I want to create my own neopixel notification led light, for signaling when the copter will accept loiter mode. As i can see, it won’t do that until all EKF flags are ok. Usually the pos_horiz_abs is the slowest at going from red to white.
If you enable fences (even if none are uploaded), the copter will refuse to arm in any mode until the position flags are valid. You don’t need to script anything, as the LED status will continue to flash yellow for failed prearm checks until all pass. You’ll also get periodic GCS messages stating the same if Yaapu telemetry is present or a GCS is connected.