Flight logs can parse version 13 flight log files. Convert DJI protocol data into time frame objects for presentation and analysis
- App using Mobile SDK version 4.12
- FRSample: Introducing how to call interfaces and parse data
- FlightRecordStandardizationCpp: Convert C++ structure objects into Protobuf objects for cross-platform data transfer
- FlightRecordStandardization: Aggregate raw data into a view model of aircraft status in 0.1 seconds
- FlightRecordEngine: For parsing cryptographic to plaintext data
- libtomcrypt/libtommath: Used to decrypt original documents
- curl/openssl: Used to communicate with DJIService to get the decryption key
Here is an introduction to the role of file directories:
- FR-V1.0.0/third-party/source: Rely on third-party source libraries to compile the platform you want to run. The specific compilation method needs to be solved by itself.
- FR-V1.0.0/third-party/header: Relying on third-party platform libraries for header files
- FR-V1.0.0/third-party/cmake: For cmake to compile custom functions
- FR-V1.0.0/third-party/build: Third-party repositories have compiled the product. Only partial platforms supported
- FR-V1.0.0/dji-flightrecord-engine/build: Compilation products for each platform used to house the dji-flightrecordengine library
- FR-V1.0.0/dji-flightrecord-engine/source:Source code for the dji-flightrecordengine library
- FR-V1.0.0/dji-flightrecord-kit/build: Compilation products for each platform used to house the dji-flightrecord-kit library
- FR-V1.0.0/dji-flightrecord-kit/protoc: Protobuf files that house standardized data structures and can be used for cross-platform data transfer
- FR-V1.0.0/dji-flightrecord-kit/source: Source code for the dji-flightrecord-kit library
- FR-V1.0.0/images:Photo resources cited in README
Here is the MAC version of the SAMPLE run creation process.
cd dji-flightrecord-kit/build/Mac/FRSample
sh generate.sh
// Which do you want to build? Please Input the number:
// 0: Executable 1: Project input:
// input 1 can create a xcode project.
- Open dji-flightrecord-kit/build/Mac/FRSample/FRSample.xcodeproj
- Go to the main.cc file and configure the path of the file you want to parse to the variable file_path.
- Configure the sdk key parameter of the 'startRequestParser' interface and you will be able to parse the file for the version of Flight Record 13
cd dji-flightrecord-kit/build/Ubuntu/FRSample
sh generate.sh
./FRSample
- Go to the main.cc file and configure the path of the file you want to parse to the variable file_path.
- Configure the sdk key parameter of the 'startRequestParser' interface and you will be able to parse the file for the version of Flight Record 13
- Runing the above script
cd dji-flightrecord-kit/build/Mac/FlightRecordStandardizationCpp
sh generate.sh
./FRSample
- Execute the above script
- Get the library you want, the header files are stored in the dji-flightrecord-kit/source/FlightRecordStandardizationCpp/parser/DJIFRProtoParser.hpp
cd dji-flightrecord-kit/build/Ubuntu/FlightRecordStandardizationCpp
sh generate.sh
./FRSample
- Execute the above script
- Get the library you want, the header files are stored in the dji-flightrecord-kit/source/FlightRecordStandardizationCpp/parser/DJIFRProtoParser.hpp
FlightRecord is owned and maintained by DJI SDK.
Expect more customized data, please let us know your data needs and application scenarios. You can get support from DJI with the following methods:
DJIFlightRecord is available under the MIT license. See the LICENSE file for more info.