Log file often not generated

Hi,

 

After each flight i try to download the log file from my APM unit. Sometime it generates a log file, but most of the time it reports that there are no logs to download. Im taking off and landing manually & flying around waypoints autonomously. When i do get a log, its only a small part of the flight. Iv turned on all log-able fields in the terminal.

 

Im trying to understand when the log files are wiped. I assume that its when the APM unit loses power? APM gets reset each time i switch between CLI & flight mode, but thats unavoidable. The unit has battery power the entire time.

 

It seems like short flights are more likely to get logged. I was starting to wonder if my logs were exceeding some max size because of all the fields i turned on. I dont think this is the case because the logs that i have retrieved are small (>1mb). Also KMZ files are not being generated automatically, iv been manually generating them with the "recreate KML" button in the log download dialogue. Iv attached a log from a flight earlier today (this was the only log generated, it was dramatically shorter that the other 2 flights i flew before and after). oct%2011%20short%20flight%20%28manual%29.log

 

I would appreciate any help. Im trying to output some data for my engineering project.

 

Thanks!

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

Join diydrones

Email me when people reply –

Replies

  • Developer

    the log you posted uses the entire dataflash

    Dumping Log number 1,    start page 2,   end page 4096

     

    4096 is the last page in the dataflash, so it would appear your using the entire dataflash for these short logs.

    ie 4096 * 512 = 2 mb

    try testing on the ground, just start in fly mode, and log for say 2 mins. then try downloading it to see how much it uses

  • Just adding my name to this so I get an update.
    I've often wondered this myself, but usually just use the APM Planner Logs.

This reply was deleted.

Activity