This is an old revision of the document!
DataFlash Log Downloading Tests
As the plane is closed we cannot download the dataflash logs anymore by removing the SD-Card from its slot.
Therefore a wireless method need to be found to get the data from the pixracer.
Method1: Download via MavEsp WIFI
- Insert the ESP into the pixracer.
- Download the latest Dailybuild from QGroundcontrol: https://docs.qgroundcontrol.com/en/releases/daily_builds.html
- Download the latest firmware for mavesp: https://github.com/dogmaphobic/mavesp8266
- Login into pixracer WIFI which is provided by the ESP
- Open http://192.168.4.1/update and flash the downloaded firmware
- Optinal: Set Params https://github.com/dogmaphobic/mavesp8266/blob/master/HTTP.md
- Optinal: Set WIFI Channel via http://192.168.4.1/setparameters?channel=1 (Here Channel 1 - At HS Augsburg least occupied Channel)
- Optinal: Restart ESP as only then the new params will be used
Test 14.2.2020 - MAVEsp in AP Mode
- Qgroundcontrol Dailybuild 14.2.2020
- Mavesp Firmware 1.2.2
- Login into pixracer WIFI which is provided by the ESP
- Open QGroundcontrol and download dataflash Log
- ⇒ Speed about 15-20kB/sec
- Estimated Time to Download One Flight: Pixracer creates 3.4 MB/Min ⇒ 204MB/h = 204MB/Flight ⇒ 204MB / 0,020MB/sec = 10200 Sec = 170 Min = ~3h
Test 15.2.2020 - MAVEsp in Station Mode
- Login into pixracer WIFI which is provided by the ESP
- Set MAVEsp to Client / Station Mode: Mode = 1 . Be sure to type in the correct AP Name and Password. I tested by giving static IP
- Start QGroundcontrol
- Connection should be established automatically
- Download dataflash Log
- Speed about 18kB/sec
Method2: Download via MAVProxy to Pi
Idea is to download the dataflashlog via Serial Telemetry Link from the Pi from the Pixracer
- Wire RX / TX with the PI
- Install MAVProxy @ PI : sudo pip3 install mavproxy
- Set Telemetry Speed (115200 / 921600) via QGroundcontrol
- start pi↔pixracer connection : sudo mavproxy.py –master=/dev/ttyS0 –baudrate=921600
- get log list : log list
- download log: log download <logid> <logname>
Test 15.2.2020
- log download 1 1.bin
- ⇒ RTL> Finished downloading 1.bin (473553 bytes 48 seconds, 9.8 kbyte/sec 143 retries)