Refactor Wi-Fi log download

Use MAVLink LOG_REQUEST_DATA and LOG_DATA for download log instead of console.
Make Wi-Fi download default way of downloading the log.
Make `log` command only print the header and `log dump` dump the log.
This commit is contained in:
Oleg Kalachev
2025-11-02 00:24:38 +03:00
parent e22df3ab01
commit 2e7330d2f5
6 changed files with 59 additions and 14 deletions

View File

@@ -32,7 +32,7 @@ simulator: build_simulator
gazebo --verbose ${CURDIR}/gazebo/flix.world
log:
PORT=$(PORT) tools/grab_log.py
tools/log.py
plot:
plotjuggler -d $(shell ls -t tools/log/*.csv | head -n1)