ibaiGorordo / AWR1642-Read-Data-Python-MMWAVE-SDK-2

Python program to read and plot the data in real time from the AWR1642 and IWR1642 mmWave radar boards (Texas Instruments).
MIT License
137 stars 57 forks source link

No output #8

Closed lea92ch closed 5 years ago

lea92ch commented 5 years ago

Hi, I tried your code "Read-Data-Python", in my case, nothing is displayed on the graph window. I would like to know which .bin file you flashed to the radar?

Thank you

ibaiGorordo commented 5 years ago

Hi,

In this case I made it for the mmWave SDK 2.01 demo. Which SDk are you using?

lea92ch commented 5 years ago

I use mmWave SDK 3.03

ibaiGorordo commented 5 years ago

Try using my repository for the AWR1843, change the configuration with your own configuration.

Let me know if it works. That program is still in development so it might give errors.

lea92ch commented 5 years ago

With this repository and my own .conf I have only one point blinking on (0;0)

lea92ch commented 5 years ago

This is with SDK 2.1 With SDK 3, nothing is displayed

ibaiGorordo commented 5 years ago

When you use the SDK 2.1, does the sensor start measuring (the LDE DS3 should turn on). If it does, that mean that there is some problem while parsing the data. PLease make a print on byteBuffer and copy it here so I can see what could be the problem.

Thank you

cuca94 commented 5 years ago

EDIT: Found the data structure of SDK2.1 and SDK3.3... EDIT2: ok, im just stupid...it gives zeros because of no moving objects 🤣

I had the same problem, with my AWR1642 on SDK 3.03 i got no output. By using your AWR1843 repo, it works, but the velocity is not sent. z is zero because the 1642 is not capable of calculating it, right?! This is the beginning of my byteBuffer output, the zeros in the 4th line are parsed as the velocity values.. Any ideas why the velocity is not sent?

   2   1   4   3   6   5   8   7   3   0   3   3 224   2   0   0  66  22
  10   0  22   0   0   0  37 164   2  77   6   0   0   0   4   0   0   0
   0   0   0   0   1   0   0   0  96   0   0   0 127  10  73 188  91 125
  43  61   0   0   0   0   0   0   0   0  31 243  33 189  54  23 151  60
   0   0   0   0   0   0   0   0  63 140 234  60 236 110 106  63   0   0
   0   0   0   0   0   0 211  82 207 190 164 151 141  63   0   0   0   0
   0   0   0   0 255  96 223  61  51 241 222  63   0   0   0   0   0   0
   0   0 223  33 240 190 210 129 232  63   0   0   0   0   0   0   0   0
   7   0   0   0  24   0   0   0 214   0 254   2 214   0 254   2 153   0
 247   2 205   0 233   2  23   1 240   2 183   0 204   2   2   0   0   0
   0   2   0   0  72  15  86  16  25  16 105  15 254  13 215  13 213  13
lea92ch commented 5 years ago

I finally made it work using SDK 2.1. I don't know what the problem was before, it probably couldn't read data from Serial Port. I didn't have the problem since it started working so I can't tell you what the problem was so you could fix it. Thank you for your help

ibaiGorordo commented 5 years ago

I finally made it work using SDK 2.1. I don't know what the problem was before, it probably couldn't read data from Serial Port. I didn't have the problem since it started working so I can't tell you what the problem was so you could fix it. Thank you for your help

I am glad to hear it. Let me know if you find any problems again.

Thank you, Ibai

ibaiGorordo commented 5 years ago

EDIT: Found the data structure of SDK2.1 and SDK3.3... EDIT2: ok, im just stupid...it gives zeros because of no moving objects 🤣

I had the same problem, with my AWR1642 on SDK 3.03 i got no output. By using your AWR1843 repo, it works, but the velocity is not sent. z is zero because the 1642 is not capable of calculating it, right?! This is the beginning of my byteBuffer output, the zeros in the 4th line are parsed as the velocity values.. Any ideas why the velocity is not sent?

   2   1   4   3   6   5   8   7   3   0   3   3 224   2   0   0  66  22
  10   0  22   0   0   0  37 164   2  77   6   0   0   0   4   0   0   0
   0   0   0   0   1   0   0   0  96   0   0   0 127  10  73 188  91 125
  43  61   0   0   0   0   0   0   0   0  31 243  33 189  54  23 151  60
   0   0   0   0   0   0   0   0  63 140 234  60 236 110 106  63   0   0
   0   0   0   0   0   0 211  82 207 190 164 151 141  63   0   0   0   0
   0   0   0   0 255  96 223  61  51 241 222  63   0   0   0   0   0   0
   0   0 223  33 240 190 210 129 232  63   0   0   0   0   0   0   0   0
   7   0   0   0  24   0   0   0 214   0 254   2 214   0 254   2 153   0
 247   2 205   0 233   2  23   1 240   2 183   0 204   2   2   0   0   0
   0   2   0   0  72  15  86  16  25  16 105  15 254  13 215  13 213  13

Hi, If I understand correctly, I think all your questions are solved. If you have any problems with the SDK 3, please write an issue in the other repository.

Thank you