selftest – Self test functions¶
CodeAIR Selftest Functions
-
codeair.selftest.check_camera_viz(threshold=128)[source]¶ Return ratio of grayscale pixels above given 8-bit threshold
-
codeair.selftest.check_fcon_sensors(reset_buf=False)[source]¶ Harvest STM32 power-on selftest results
-
codeair.selftest.check_firmware()[source]¶ Compare flight controller firmware to our current latest version, update if needed