INFORMATION ABOUT LOGS
CompletedGoodmorning,
I'm doing my master thesis about some topics related to DJI Drones and I was wondering some questions. The questions are the following ones:
- are OSD.pitch, OSD.roll and OSD.yaw measured in degree? If so.. are they calculated according the "normal" position that is the following one? (Imagine it is placed on the floor)
- The second question is concerning the correlatation between .dat and .txt files.
I would like to merge .dat feature together with .txt ones (flight by flight)? I was thinking to merge them using timestamp but the .dat file has only "clock". Moreover there are more rows into .dat file compared to .txt. For getting the .dat file related to a specific flight I created a script which extracts only value of motors > 0 and I split into different files. Doing so I can easily extract .dat features related to each flight. Is there a way to understand how clock is "transformed" to timestamp? - In the .dat file there are IMU_ATTI(0):velN and IMU_ATTI(1):velN. Which is the different between them? they are used to compute the xSpeed feature of .txt log file, aren't they?
- Why does not the .dat file contain all the .txt files? I know .dat starts to record when the drone is turned on and stop recording when the power is off. Instead, .txt start/stop recording when the drone is armed. Said that, I find "23" hills in the .dat file (motors) so I assume there are 23 flights. Instead in the other folder I have 28 .txt files. Basically there are 5 flights left. The time of .dat file corresponds to the 5th fligh txt. In other words the first 5 flights are not registered.
PS: both .txt and .dat log files are retrieved by phantomhelp/airdata/csview (I used the last one). The drone in question is Mavic Air 2.
Thank you in advance for the support.
Best Regards,
Nicola
PS: Sorry if my english is not so perfect. Hope you understand in any case.
-
1. The attitude angle is measured in degrees. 2. You cannot do that, the .dat file is for our internal analysis only. You can only export the FlightRecord.txt file and use our Flight Record API on Github to do an analysis. Link:https://github.com/dji-sdk/FlightRecordParsingLib 3. It is not suggested that you look into .dat file because the measurements are encrypted. 4. .dat file is the flight controller log, it records all internal logs. The .txt file records the flight recrods with only OSD information bu no internal logs.
Please sign in to leave a comment.
Comments
1 comment