-
Notifications
You must be signed in to change notification settings - Fork 49
Add get CIR ability #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
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.