ardupilot icon indicating copy to clipboard operation
ardupilot copied to clipboard

Copter: too many nearly empty dataflash logs created

Open rmackay9 opened this issue 13 years ago • 5 comments

We create logs very soon after start-up now. We should only create them once the motors are armed to reduce lots of little logs with no flight data in them.

rmackay9 avatar May 02 '13 02:05 rmackay9

Fixed as part of this commit. https://github.com/diydrones/ardupilot/commit/cca05ee8aed1b40d540b999e8af69fd92ff44f6b

Will be released as part of release candidate 2

rmackay9 avatar May 03 '13 05:05 rmackay9

I'm not sure this is going to be helpful for support. We have to support poeple who haven't even been successful to the point to arm. Can we enable logging before ARM state?

billbonney avatar May 10 '13 17:05 billbonney

I see your point but this is the current functionality in all previous versions so I'm going to stick with this unless someone can come up with an idea of how to avoid having dozens of nearly empty logs.

rmackay9 avatar May 11 '13 03:05 rmackay9

This is probably a bad idea, but could we have a 'standby' version of each firmware available that mirrors the current release but doesn't have this fix in it. Then users who are having problems could dl this pre-armed logging version so that they are able to provide us with logs to look at.

DaveCrone avatar May 11 '13 08:05 DaveCrone

Hi Randy,

How about a log created at boot of the parameter info, which can help diagnose setup. It's one file replaced everytime boot occurs? Can we add a snapshot of Vbatt, Vcc at the end of it also?

This reduces multiple files, but means new users can provide this without having to enable anything.

billbonney avatar May 11 '13 14:05 billbonney