• Bryant Mairs's avatar
    Refactored the LogCompressor. It wasn't properly handling certain message... · 6ba5787c
    Bryant Mairs authored
    Refactored the LogCompressor. It wasn't properly handling certain message logging files that mixed messages (Issue #70).
    One note is that this logger should work correctly as I've tested it, but could have some edge cases. It is pickier about the file format that it will sparse, but I don't know if the error-checking stuff from the old code would have actually worked. This can also be easily re-added.
    
    This code is also much faster than the old stuff. From what I could tell it scanned through the log file at least twice, I think three times. It also copied a lot of data into memory instead of reading, processing, and writing one line at a time, so memory use should be much lower. Some memory leaks from the old code were also refactored out, so lifetime memory use should be down.
    6ba5787c
Name
Last commit
Last update
data Loading commit data...
deploy Loading commit data...
doc Loading commit data...
files Loading commit data...
images Loading commit data...
lib Loading commit data...
mavlink Loading commit data...
qgcunittest Loading commit data...
settings Loading commit data...
src Loading commit data...
thirdParty Loading commit data...
.gitignore Loading commit data...
README Loading commit data...
demo-log.txt Loading commit data...
license.txt Loading commit data...
qgcunittest.pro Loading commit data...
qgcvideo.pro Loading commit data...
qgroundcontrol.pri Loading commit data...
qgroundcontrol.pro Loading commit data...
qgroundcontrol.qrc Loading commit data...
qgroundcontrol.rc Loading commit data...
qserialport.pri Loading commit data...
testlog.txt Loading commit data...
testlog2.txt Loading commit data...
user_config.pri.dist Loading commit data...