Making an ESP32-based quadcopter from scratch
Python arduinoautopilotcontrol-theorydroneesp32flight-controlflight-controllermavlinkquadcopterquadcopter-firmwareuav
pyflix: partially fix wireless downloading logs
Oleg Kalachevca03bdb26041
diff --git a/tools/pyflix/flix.py b/tools/pyflix/flix.pyindex 6b9bcd6..2ee9729 100644--- a/tools/pyflix/flix.py+++ b/tools/pyflix/flix.py@@ -370,7 +370,9 @@ class Flix:self.mavlink.serial_control_send(0, 0, 0, 0, len(cmd_bytes), cmd_bytes)if not wait_response:return ''- response = self.wait('print_full', timeout=0.1, value=lambda text: text.startswith(response_prefix))+ timeout = 0.1+ if cmd == 'log': timeout = 10 # log download may take more time+ response = self.wait('print_full', timeout=timeout, value=lambda text: text.startswith(response_prefix))return response[len(response_prefix):].strip()except TimeoutError:continue