$ mavplayback.py 00000038.BIN
Traceback (most recent call last):
File "~/bin/mavplayback.py", line 256, in <module>
app=App(filename)
File "~/bin/mavplayback.py", line 104, in __init__
self.next_message()
File "~/bin/mavplayback.py", line 199, in next_message
pos = float(self.mlog.f.tell()) / self.filesize
AttributeError: 'DFReader_binary' object has no attribute 'f'
mavplayback.py uses DFReader_binary class from DFReader.py to load .BIN file, but that class has no f attribute instead it uses filehandle
I have the same problem. I replaced f with filehandle and it doesn't throw the error, but it seems to be sending invalid mavlink messages in the out port.
mavplayback.py playing back a .BIN log file
mavplayback.py uses DFReader_binary class from DFReader.py to load .BIN file, but that class has no
f
attribute instead it usesfilehandle
playback of
.tlog
files works