Data Flash Log - Line Number to Seconds

Hi there,

I was wondering if someone mind please explaining how to change the x-axis to have units of time (seconds,milliseconds, etc.) when graphing/exporting Data Flash Logs in Mission Planner. Currently, Mission Planner's Data Flash Log browser plots the value selected vs line number by default, but how do you determine how much time has elapsed between each line number?

Ultimately I would like to analyze this data in MATLAB or Python, and any input is greatly appreciated.

Thank you for your help in advance.

Screenshot_1.png

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • miroseconds since boot..  you can offset it by GPSTime and GPSWeek.

  • Hi Andre,

    Thanks for your help. I managed to export the data to MATLAB using the "Create MATLAB File" feature in Mission Planner.

    However, I was wondering if you knew what units the "Time US" parameter is in?

    3702432969?profile=original

    Thanks

    Andre K. said:

    for MATLAB/ python use mavlogdump.py to dump the log in a way that is easy to parse.  (install mavproxy if you don't have it yet.)

    For analysis/browsing the log, use the best tool; APMPlanner2.

    Data Flash Log - Line Number to Seconds
    Hi there, I was wondering if someone mind please explaining how to change the x-axis to have units of time (seconds,milliseconds, etc.) when graphing…
  • Actually I got the time axis working in APMPlanner 2. Thanks

  • 3702432852?profile=original

  • In MP check 'Use Time'.
  • Thank you very much Andre. I will try implementing your suggestion.

    Andre K. said:

    for MATLAB/ python use mavlogdump.py to dump the log in a way that is easy to parse.  (install mavproxy if you don't have it yet.)

    For analysis/browsing the log, use the best tool; APMPlanner2.

    Data Flash Log - Line Number to Seconds
    Hi there, I was wondering if someone mind please explaining how to change the x-axis to have units of time (seconds,milliseconds, etc.) when graphing…
  • for MATLAB/ python use mavlogdump.py to dump the log in a way that is easy to parse.  (install mavproxy if you don't have it yet.)

    For analysis/browsing the log, use the best tool; APMPlanner2.

This reply was deleted.

Activity

DIY Drones via Twitter
RT @chr1sa: Somehow I missed this, but last week @Nvidia released a new version of its Isaac robot development framework. Lots of new Lidar…
12 hours ago
DIY Robocars via Twitter
RT @Smartphone89: DonkeyCar Racing League Korea #donkeycar @diyrobocars https://t.co/mDlHDR1d98
Friday
Jørn Ramnæs liked VIDEO LINK's profile
Friday
Mark Harrison left a comment on Moderators
"Wow, Ning2 looks really great on mobile. I had sort of drifted away as my browse-time went more on my phone, so this is great."
Friday
Hank Deucker left a comment on PIXHAWK
"I am sure most will say not again, Pixhawk telemetry. I do need help and all can be reassured that I have spent many hours scouring the net for useful information. I am not new at quadcopter flying, I started in 2012 and have progressed through many…"
Thursday
DIY Robocars via Twitter
https://t.co/rLmFr8M2UK
Thursday
Hank Deucker left a comment on PIXHAWK
"Tomorrow, I am thinking about the wording at the moment."
Thursday
DIY Drones via Twitter
Welcome to the new DIY Drones design!. You may have noticed that DIY Drones looks a little different today. That's… https://t.co/cg2EmeDGMQ
Wednesday
DIY Drones via Twitter
New! Online Training on Drones for Disaster Response https://t.co/brqRuujjY2
May 26
DIY Robocars via Twitter
https://t.co/8EMCvYW6oz
May 25
DIY Robocars via Twitter
RT @OttawaAVGroup: We are going to try something new this week. We will be having a drop-in style meeting Wednesday @ 7-9pm EST. Pop in and…
May 25
DIY Robocars via Twitter
RT @tawnkramer: Thanks Everyone for another fun virtual race! Amazing Ai racers competing head-to-head, Virtual Makers Fair event. Catch us…
May 23
DIY Robocars via Twitter
RT @make: Find out the latest from @diyrobocars at 10am PT from @chr1sa of @3DRobotics on Virtually Make Faire! #makerfaire #maketogether #…
May 23
DIY Robocars via Twitter
RT @Heavy02011: Join us Saturday online: Virtual Race League: @DIYRobocars Race #2 - Parking Lot Nerds https://t.co/aJUu4sdutx #Meetup via…
May 22
DIY Robocars via Twitter
RT @donkey_car: Yay, we are part of the virtual @makerfaire with @diyrobocars. Come see our race or better yet train a model and race with…
May 21
DIY Robocars via Twitter
RT @chr1sa: The @DIYRobocars Virtual AI Race is going to be part of the virtual @makerfaire on Sat! https://t.co/wnMDAboLID
May 20
More…