rotorflight / rotorflight-firmware

GNU General Public License v3.0
82 stars 39 forks source link

BB log / Auto delete, or overwrite, or rolling log so it is able to record always #126

Open azaz44 opened 3 months ago

azaz44 commented 3 months ago

it seems BB is now made mainly for tuning, so you can record logs to tune filters or PIDs. But recording means some manual work, at least to erase data so it has space.

However, BB would be a fantastic tool to diagnose issues, in case of heli crash or any incident when reason is unknown. Having access to recent flights at any time would be super handy. Having voltages, currents, but also servo outputs and RF actions, would help to find out very many issues. I had an umber of incidents because of servos getting stuck (because of gears). It took me a lot of time to find reasons. But this would be visible in log files, that RF is trying to push the servo all time and errors in PID accumulate.

Actually, the name BlackBox suggest such usage. Blackboxes in real planes record all the time. As it is now, if you forget to delete your logs, then it will not log and data is lost.

rotorflight commented 2 months ago

This would be great. This is a large change and will need time to develop. Likely slipping into 2025.