Open shreks7 opened 6 years ago
This looks like the remaining data were smaller than 4 bytes - was there some unusual interrupt? Can you share your meta_180123_190246.log
with related (listed inside) files?
Here are the log files (attached) -
meta_180123_190246.log
['bebop.py', 'testTakeoff'] navdata: logs/navdata_180123_190246.bin cmd: logs/cmd_180123_190246.bin console: logs/console_180123_190246.txt now: datetime.datetime(2018, 1, 23, 19, 2, 46, 362000)
This is even happening on Linux.
Thanks for the log file - I can confirm partial reproduction of the problem. The first issue is probably 1 2 3 AssertionError 23
when it stops properly parsing the data. There is a quick workaround (or rather "hack") in
https://github.com/robotika/katarina/commit/ccc9d6f5337d6dadc60e17dddc24dcd3afb762b5
but it is not sufficient:
python navdata.py logs\navdata_180123_190246.bin
...
Piloting State change 9
Unknown ACK: 04 7E 1C 10 00 00 00 00 11 01 00 03 00 00 00 01
Traceback (most recent call last):
File "navdata.py", line 415, in <module>
data = parseData( data, robot, verbose=True )
File "navdata.py", line 317, in parseData
assert frameSize == 15, len(data)
AssertionError: 890
and this is in if branch
elif frameId == 0x0: # ARNETWORK_MANAGER_INTERNAL_BUFFER_ID_PING
... which I have not seen before :(.
find the solution : https://dhta.blog/2017/11/27/downgrade-bebop-2-firmware/
i have the same error and it work for me
I tried all tasks but I am getting an error with parseData each time i run it -
py -2 bebop.py testTakeOff