Closed winnie1228 closed 2 years ago
Hi,
Yeah, if I wrote this repository again I would add a loop to read all the frames available. However, the data should be read as fast as possible to avoid an increasing of numbers in the queue. If you have that issue try reducing the sleep time.
As for the second question, I don't remember what the equation was, but looking at the code it shoudl be 2^x, where x = byteBuffer[idX] + byteBuffer[idX+1]*8
, i.e. 2 byte big endian number.
Hi, this is a question about readData_AWR1642.py. Sometimes there are many frames in one read, which means that the length of startIdx may be greater than 1. But why the only first frame is taken in the code. In addition, there is another place I don't understand: It's line 212(image below), Why is tlv_xyzQFormat calculated like this. Do you have any suggestions? I'm waiting for your reply, thank you very much! Best wishes.