Conversation
+ add getDeviceCirData
+ clean lib.py:
Changed default positioning algorithm to 3D
To easily see the available serial ports.
add get CIR add test cir
improve getDeviceCir Add get_cir.py in tutorials #remove test cir
|
Hello, T. |
|
Thanks for the helpful information and I can confirm the same issue on firmware v2.2. I guess you can just live with the smaller data_length right? Couldn't think of a better solution other than putting an Arduino shield on it. |
create "getDeviceCirData" method to obtain the CIR buffer of the device. According to POZYX_CIR_DATA datasheet, This take as parameters: CIR buffer offset and data length. The output fill a buffer of 98 bytes.
create "getDeviceCir" method to aggregate the CIR buffers. This create the aggregation of multiple CIR buffers into a larger buffer. Real CIR coeff can be retrieve by taken even number index of the buffer whereas imaginary CIR coeff can be retrieve by taken odd number index.