DJI Mavic, Air and Mini Drones
Friendly, Helpful & Knowledgeable Community
Join Us Now

MAVIC AIR 2 Logs meaning

PilotNovel

Active Member
Joined
Oct 3, 2022
Messages
28
Reactions
1
Age
33
Location
Italy
Goodmorning to everyone,
I'd like to ask if someone knows what does mean the following features in DJI's log file:
-OSD.hSpeed [MPH] - OSD.hSpeedMax [MPH] - OSD.xSpeed [MPH] -OSD.xSpeedMax [MPH] -OSD.ySpeed [MPH] -OSD.ySpeedMax [MPH] -OSD.zSpeed [MPH] -OSD.zSpeedMax [MPH] -OSD.pitch OSD.roll -OSD.yaw -OSD.yaw [360]

Thanks in advance to who helps me
 
Goodmorning to everyone,

I'd like to ask if someone knows what does mean the following features in DJI's log file:

-OSD.hSpeed [MPH] - OSD.hSpeedMax [MPH] - OSD.xSpeed [MPH] -OSD.xSpeedMax [MPH] -OSD.ySpeed [MPH] -OSD.ySpeedMax [MPH] -OSD.zSpeed [MPH] -OSD.zSpeedMax [MPH] -OSD.pitch OSD.roll -OSD.yaw -OSD.yaw [360]

Thanks in advance to who helps me
hspeed = heading speed (horizontal speed in the direction of travel)
Xspeed = speed north, Yspeed = speed east & Zspeed = speed down.
Pitch, Roll & Yaw is the 3 movement axis that makes the aircrafts attitude, see pic below.

Red arrow direction around the movement axis are positive values.

1664953572319.png

And lastly...

Yaw is measured on a +/- 180 degree scale where 0 is north. Yaw360 is measured on a +360 degree scale where 0/360 is north.
 
Last edited:
Note, the names used for the various entities, not necessarily the ones you cite, vary depending on which software is used to read the original log. At a guess you might be looking at logs via Phantomhelp's log viewer or CvsView but the names from Airdata may differ.
 
  • Like
Reactions: PilotNovel
Thank you both for the answers!
Now I'd like to ask you if u know a method to obtain these log files during the flight maybe with some API or with any "weird" technique you know.
Do you also know if there is a method to read the frequency for each rotor of the drone?

Thanks in advance!
 
...if u know a method to obtain these log files during the flight
To read off & decrypt the logs "on the fly"? No, never heard of a way to do that.

Mavic drones have in general 3 different types of logs...

The mobile device .TXT log:
Runs from motor start to motor stop (or signal loss), recording telemetry transmitted from the aircraft to the RC at 10 Hz in a few hundred data fields. These logs don't include any raw sensor data - only the IMU solutions that are the output from the sensor fusion algorithm. They also include battery data, gimbal and camera data, flight status and error flags, but no motor data. These logs are stored in the mobile device you fly with.

From the DJI Fly version 1.2.2 the .TXT log got encrypted by DJI ... for a while it was unreadable but then Airdata.com & PhantomHelp.com got the decryption key from DJI & we could use their web service or download their .CSV file for further analysis off line.

The aircraft .DAT log:
These contain the most comprehensive data, logged at the highest rates. A DAT file is started at aircraft power up and continues until power down, and includes numerous boot sequence, sensor calibration and diagnostic data in the flight event stream. There are also hundreds of data fields, many of which are flags or diagnostic computations of unknown types, probably understood only by DJI. However, among these are the raw and processed sensor data and the IMU solution for aircraft attitude, position, velocity and heading, together with battery and motor data, recorded at rates varying from 5 Hz to 200 Hz. The files exist independent of the mobile device control app being used. These logs are stored in the aircraft itself & can be extracted with the program DJI Assistance 2.

On all crafts released after the DJI Mavic Pro (1) the decryption keys are hidden, and so those are not readable except by DJI.

The mobile device .DAT log:
These contain a subset of the aircraft DAT files, including most of the raw sensor data, recorded at a lower data rate of 10 Hz. They are also started at aircraft power up and closed at aircraft shutdown, provided that the app is connected - otherwise it will be the subset of that duration when the app is connected. Not as good as the aircraft DAT files, but nearly as good for most needs, and always available if the control app is either DJI GO4, DJI Fly ... and lately Litchi. These logs are stored in the mobile device you fly with.

The DJI Mini 2 was the first to get the decryption keys hidden for this log, and so those are not readable except by DJI. I don't remember if also MA2 & MA2s DAT's are affected ... but the M3 & Mini 3 Pro are.

...a method to read the frequency for each rotor of the drone?
The motor RPM's are included in either of the 2 .DAT logs.
 
To read off & decrypt the logs "on the fly"? No, never heard of a way to do that.

Mavic drones have in general 3 different types of logs...

The mobile device .TXT log:
Runs from motor start to motor stop (or signal loss), recording telemetry transmitted from the aircraft to the RC at 10 Hz in a few hundred data fields. These logs don't include any raw sensor data - only the IMU solutions that are the output from the sensor fusion algorithm. They also include battery data, gimbal and camera data, flight status and error flags, but no motor data. These logs are stored in the mobile device you fly with.

From the DJI Fly version 1.2.2 the .TXT log got encrypted by DJI ... for a while it was unreadable but then Airdata.com & PhantomHelp.com got the decryption key from DJI & we could use their web service or download their .CSV file for further analysis off line.

The aircraft .DAT log:
These contain the most comprehensive data, logged at the highest rates. A DAT file is started at aircraft power up and continues until power down, and includes numerous boot sequence, sensor calibration and diagnostic data in the flight event stream. There are also hundreds of data fields, many of which are flags or diagnostic computations of unknown types, probably understood only by DJI. However, among these are the raw and processed sensor data and the IMU solution for aircraft attitude, position, velocity and heading, together with battery and motor data, recorded at rates varying from 5 Hz to 200 Hz. The files exist independent of the mobile device control app being used. These logs are stored in the aircraft itself & can be extracted with the program DJI Assistance 2.

On all crafts released after the DJI Mavic Pro (1) the decryption keys are hidden, and so those are not readable except by DJI.

The mobile device .DAT log:
These contain a subset of the aircraft DAT files, including most of the raw sensor data, recorded at a lower data rate of 10 Hz. They are also started at aircraft power up and closed at aircraft shutdown, provided that the app is connected - otherwise it will be the subset of that duration when the app is connected. Not as good as the aircraft DAT files, but nearly as good for most needs, and always available if the control app is either DJI GO4, DJI Fly ... and lately Litchi. These logs are stored in the mobile device you fly with.

The DJI Mini 2 was the first to get the decryption keys hidden for this log, and so those are not readable except by DJI. I don't remember if also MA2 & MA2s DAT's are affected ... but the M3 & Mini 3 Pro are.


The motor RPM's are included in either of the 2 .DAT logs.
Thank you so much,
your answer is so exhaustive!
Can you suggest me an application to open and read .DAT logs? Because they are too heavy and no one of the site that I was using allow me to upload them.

Thank you in advance
 
Thank you so much,
your answer is so exhaustive!
Can you suggest me an application to open and read .DAT logs? Because they are too heavy and no one of the site that I was using allow me to upload them.

Thank you in advance
The only usable DAT log from a MA2 (the one stored in the mobile device) isn't "heavy" ... they usually are around 3-5Mb. If it's several hundreds Mb large you have the Aircraft DAT & you will not be able to decrypt it, so unusable.

The free computer program I use to depict the logs is CsvView, download it here --> CsvView Downloads ... it reads both decrypted aircraft DAT's (MP & older models), mobile device DAT's (if they don't come from crafts that have encrypted ones), mobile device .TXT logs (if not created from the DJI Fly app version greater than 1.2.1) & .CSV files downloaded from Airdata.com/PhantomHelp.com.

The program is extensive & have a quite step learning curve ... nothing in it will serve you anything automatically, you need to know a lot of the same thing's as you asked about in the first post in this thread.
 
  • Like
Reactions: PilotNovel
The only usable DAT log from a MA2 (the one stored in the mobile device) isn't "heavy" ... they usually are around 3-5Mb. If it's several hundreds Mb large you have the Aircraft DAT & you will not be able to decrypt it, so unusable.

The free computer program I use to depict the logs is CsvView, download it here --> CsvView Downloads ... it reads both decrypted aircraft DAT's (MP & older models), mobile device DAT's (if they don't come from crafts that have encrypted ones), mobile device .TXT logs (if not created from the DJI Fly app version greater than 1.2.1) & .CSV files downloaded from Airdata.com/PhantomHelp.com.

The program is extensive & have a quite step learning curve ... nothing in it will serve you anything automatically, you need to know a lot of the same thing's as you asked about in the first post in this thread.
Thank you again but I didnt get this point: Am I allowed to read (in any wat) the The aircraft .DAT log or not?
Infact I used to exploit airdata.com but it didnt work bc these logs are more than 800MB
 
Thank you again but I didnt get this point: Am I allowed to read (in any wat) the The aircraft .DAT log or not?
Infact I used to exploit airdata.com but it didnt work bc these logs are more than 800MB
You can't read aircraft .DAT logs from newer DJI drone models than the Mavic Pro... this as the .DAT logs are encrypted. Only DJI staff can make use of them.
 
  • Like
Reactions: PilotNovel
It is a cursed shame that DJI encrypted the DAT's on the drone from, assuming Slup is correct, the Mavic Pro onwards.
I have Drone DAT's from my Phantom 3 and they are useful, not least because they are still recorded (and readable) during a disconnection or in my case a freefall when I switched the motors of in mid flight.

You can also you the software "DatCon" to read the phone's DAT's, it is available on the CsvView website but, to be honest, I generally use CsvView.
 
Thank you both! I really appreciate your comments.
I'll let you know if I can read this log file!
 
@PilotNovel ... made a mistake regarding the speeds so I've made some changes in my first post, the X & Y speeds are not relative the aircraft.
 
  • Like
Reactions: PilotNovel
Lycus Tech Mavic Air 3 Case

DJI Drone Deals

New Threads

Forum statistics

Threads
130,593
Messages
1,554,201
Members
159,598
Latest member
fast54