-
Notifications
You must be signed in to change notification settings - Fork 205
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
Half of ADC data is missing #56
Comments
Maybe you are not converting from binary to int16? If you read from the binary file obtained with mmWave Studio you can use NumPy: |
I don't think that is the problem. The acquired data have half the size of that is recorded with mmWave Studio. The issue can easily be reproduced by making two recordings: one with mmWave Studio, one with OpenRadar module. OpenRadar recorded data will have half the size of that is recorded with mmWave Studio. |
This seems weird because I usually make recordings with mmWave Studio and also with OpenRadar, and the data have exactly the same size. I save the frames in Python using Pickle, and the file size obtained is exactly equal to the file recorded with mmWave Studio. Try reinstalling your OpenRadar module. With respect to my previous answer, I think that originally the OpenRadar module did not convert the binary data from uint16 to int16, which is necessary. Check your data type after recording a frame and use Hope this helps |
I save the data in the same way: |
I use a complex 1x stream. I have just realized that some radar parameters are hard coded in the You can see what I am talking about here https://github.com/PreSenseRadar/OpenRadar/blob/master/mmwave/dataloader/adc.py (line 45) |
I was using 2x complex stream and changed adc.py accordingly, but will have a look it again and try with 1x complex data as well. Thank you so much for your suggestion! |
Hello, has your problem been solved? I would like to ask what your solution is, thank you |
When I start framing with mmwave studio and this module, the recorded openradar .bin file is only half of the size of the mmwave file. 50% of ADC samples are missing. Is there a solution for this problem? The data do not look good with the missing samples. Thanks in advance!
The text was updated successfully, but these errors were encountered: