Retrieve flight logs through parrot-olympe

Is it possible to programmatically retrieve the flight logs though parrot-olympe, after a flight has been completed?

I intend to have a drone follow a Mavlink flight path and then land back at home. Then, I want to grab the flight log automatically.

Ideally, the log would contain entries at like 10Hz frequency with current timestamp and the filtered lat/lon/alt position estimate.

Hi @09ei83jruhifndosj09,

After each flight, a drone produces an fdr-lite file (.bin). You can download this file using our REST API.

You can extract telemetry data from this file with :

step 1 - logextract.py to extract the telemetry.tlmb file.

step 2 - tlmb2csv.py (for example) to extract telemetry.tlmb file sections into csv files.

And now, you can get you filtered lat/lon/alt position estimate with the file fdr-lite-5hz.csv.

Hey @Axelm,

thanks for the quick response! I was able to download a couple fdr-lite files using the REST API, however none of them appeared to produce a fdr-lite-5hz.csv. All I ever got were fdr-lite-mpp3.csv.

In addition, it seems the results I get back from GET 192.168.53.1/api/v1/fdr/lite_records are inconsistent. Sometimes I just get back the last flight, sometimes I get nothing. Do you happen to know why this would happen? GET 192.168.53.1/api/v1/fdr/records always appears to return the full list of flights.

Hi @09ei83jruhifndosj09,

This is normal because 192.168.53.1 is the IP address of the Skycontroller. Sorry, I didn’t know if you were connected directly to the drone or through the Skycontroller.

If you’re using Anafi 4K or Anafi USA and want to get the log via the Skycontroller, use this address 192.168.53.1:180 (port 180 is a redirect to the drone’s web server)

Regards,
Axel

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.