Please select Into the mobile phone version | Continue to access the computer ver.
GPS data for each frame
546 3 3-26 14:52
Uploading and Loding Picture ...(0/1)
o(^-^)o
sebko
lvl.2

Germany
Offline

Hey, I am doing a software project for the university with the DJI Matrice 100. A part of the project is object tracking. For that, I am using GPS data and the camera. I noticed while analyzing the flight data that there isn't a GPS entry for every frame in the log file. So is the Matrice not able to log flight data for every frame? Has anyone experience with syncing flight data and the video output?
I wrote my own data logging app which only logs while filming, but it also logs way fewer data points then there are frames in the video.
3-26 14:52
Use props
Keule
Captain
Flight distance : 3332904 ft
  • >>>
United Kingdom
Offline

If you need GPS position data inflight then you should use the UART port on the M100.
The flight controller provides detailed real-time state information at up to 200 Hz for positioning, altitude and a few more parameters.

If you need GPS data for something after the flight, use the onboard .DAT logs to get higher resolution data.
The .txt logs provide only low resolution data, so there is a chance that your footage and GPS position do not exactly match for each frame.
3-26 21:37
Use props
sebko
lvl.2

Germany
Offline

Keule Posted at 3-26 21:37
If you need GPS position data inflight then you should use the UART port on the M100.
The flight controller provides detailed real-time state information at up to 200 Hz for positioning, altitude and a few more parameters.

Thanks for the insight.
I am still a little confused. I am using my own logging function where my app calls the function getPosition from the flight controller. The function is called on every frame update, so I should get the same amount of data points as the number of frames in a video. But there are much fewer data points in the GPS log as there are frames in the video.
3-27 03:49
Use props
Keule
Captain
Flight distance : 3332904 ft
  • >>>
United Kingdom
Offline

If you are recording with 25 frames/sec then you are calling getPosition() every 25th of a second? (e.g. every frame)
Does the function return NULL or junk?
What's the latency of that function?
3-27 05:46
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules