-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flight Logs data structure for *.DAT files #62
Comments
It tells you how to find the .txt and .DAT files. We will release an online tool later to allow you upload the FlightRecord.txt file to the online tool to parse. Then you will get a parsed result for your aircraft's flying path and telemetry data. The MCDatFlightRecords.DAT file can be only decrypted and analysed internally by our dev teams. It is used for analysing a crash accidently and it records the internal logs for flight controller. Both of the files cannot be readed by outsiders. |
I understand that you can't release the keys to decrypt the MCDatFlightRecords.DAT files as those are private nature. But if you are going to provide the online public tool to parse the FlightRecord.txt files, wouldn't make sense to also release the specification of the file structure so that developers can also parse it themselves? |
For FlightRecord.txt, we do provide a method to apply for Flight Record Parse API. But it requires you to have a aggrement with us and we have no workforces to provide techinical support regardst to this API. That is why we want to build an online tool for people. |
Hello @DJI-William ! I suppose this project FlightRecordParsingLib is the one that you mentioned that is going to be released. But using the FlightRecord txt files generated by using app that runs on v5 SDK gives me error (see dji-sdk/FlightRecordParsingLib#3 (comment)). Is therefore v5 SDK logs not yet supported by that library? Could we now get the full specification of the files? Also noticed that txt flight logs are not generated if simulator mode is used on the drone, but the DAT files do appear. Is that correct? |
It can only decrypt the FlightRecord.txt files. It cannot decrypt the .Dat fiile. There is nothing different with the MSDK v5 and DJI official generated Flight Record files. |
Are there any updates on this issue? I'm seeking a solution to retrieve flight logs using the DJI SDK. Could you possibly provide some information? |
Hello!
Official SDK documentation contains information about accessing flight logs via FlightLogManager. But there are only two methods that return the directory path where the files can be located. Browsing that directory reveals the following structure:
Unfortunately both *.txt files and *.DAT files are not readable in text editors. Not sure if *.txt files is encrypted or is perhaps even a binary file even though it has *.txt extension. The *.DAT file is also not easily readable.
Therefore, could we perhaps get either:
The text was updated successfully, but these errors were encountered: