[[dataflash_log_download]]

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

  1. Insert the ESP into the pixracer.
  2. Download the latest Dailybuild from QGroundcontrol: https://docs.qgroundcontrol.com/en/releases/daily_builds.html
  3. Download the latest firmware for mavesp: https://github.com/dogmaphobic/mavesp8266
  4. Login into pixracer WIFI which is provided by the ESP
  5. Open http://192.168.4.1/update and flash the downloaded firmware
  6. Optinal: Set WIFI Channel via http://192.168.4.1/setparameters?channel=1 (Here Channel 1 - At HS Augsburg least occupied Channel)
  7. Optinal: Restart ESP as only then the new params will be used

Test 14.2.2020 - MAVEsp in AP Mode

  1. Qgroundcontrol Dailybuild 14.2.2020
  2. Mavesp Firmware 1.2.2
  3. Login into pixracer WIFI which is provided by the ESP
  4. Open QGroundcontrol and download dataflash Log
  5. ⇒ Speed about 15-20kB/sec
  6. 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

  1. Login into pixracer WIFI which is provided by the ESP
  2. 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
  3. Start QGroundcontrol
  4. Connection should be established automatically
  5. Download dataflash Log
  6. 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

  1. Wire RX / TX with the PI
  2. Install MAVProxy @ PI : sudo pip3 install mavproxy
  3. Set Telemetry Speed (115200 / 921600) via QGroundcontrol
  4. start pi↔pixracer connection : sudo mavproxy.py –master=/dev/ttyS0 –baudrate=921600
  5. get log list : log list
  6. download log: log download <logid> <filename>

Test 15.2.2020

  1. log download 1 1.bin
  2. ⇒ RTL> Finished downloading 1.bin (473553 bytes 48 seconds, 9.8 kbyte/sec 143 retries)
  • dataflash_log_download.txt
  • Last modified: 2020/02/16 14:56
  • by wf68spef