It’s 2025, and some of us are still using flight controllers with slow processors and low capacity flash chips. Yes, you did try to warn us.
I have small quadcopters with Matek H743-Slim v3, Holybro Kakute H7 Mini v1.3 and Speedybee F405 Mini. All perform adequately well, but with the F405 Mini (8MB) and H7 Mini (16MB) I’ve frequently experienced logging failures due to a full dataflash chip. IMU batch logging for a minute or two to in order to set up the notch filtering generally hasn’t been a problem. Once I’ve set and tested the filters I disable IMU batch logging.
With my current logging parameters, the F405 can log for around five minutes before the dataflash is full and logging fails. I’d like to extend that time to around seven or eight minutes, but without “throwing the baby out with the bath water”. Ideally I’d like the logs to be usable with some of the Ardupilot web tools (although some of these seem not to work with data from the F405 for reasons that aren’t clear).
My current logging parameters are:
EK3_LOG_LEVEL,0
INS_LOG_BAT_CNT,1024
INS_LOG_BAT_LGCT,32
INS_LOG_BAT_LGIN,50
INS_LOG_BAT_MASK,0
INS_LOG_BAT_OPT,2
INS_RAW_LOG_OPT,0
LOG_BACKEND_TYPE,4
LOG_BITMASK,145406
LOG_BLK_RATEMAX,0
LOG_DARM_RATEMAX,0
LOG_DISARMED,0
LOG_FILE_BUFSIZE,16
LOG_FILE_DSRMROT,1
LOG_FILE_MB_FREE,7
LOG_FILE_RATEMAX,0
LOG_FILE_TIMEOUT,5
LOG_MAV_BUFSIZE,8
LOG_MAV_RATEMAX,0
LOG_MAX_FILES,500
LOG_REPLAY,0
SERVO_BLH_TRATE,5
I’ve experimented with INS_LOG_BAT_LGIN & INS_LOG_BAT_LGCT (I believe these are only relevant with IMU batch logging on) and also with low values for LOG_BLK_RATEMAX. IIRC setting LOG_BLK_RATEMAX to 5 or 10 reduces the log file sizes a bit, but not as much as I’d expected.
I’d be grateful for any pointers on how to reduce log file sizes further.