Skip to content
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

esp_radar_train warning and csi caluculate fail error (AEGHB-786) #199

Open
ashashik opened this issue Aug 20, 2024 · 4 comments
Open

esp_radar_train warning and csi caluculate fail error (AEGHB-786) #199

ashashik opened this issue Aug 20, 2024 · 4 comments

Comments

@ashashik
Copy link

ashashik commented Aug 20, 2024

Hi,

I am trying to use 2 esp32 boards with the steps in console_test and I see the following warnings when I try to train the data in very short time . Is this normal ?

W (34724) esp_radar: The capacity of subcarrier recording during calibration is exceeded, num: 10, corr: 0.991942
I (34724) esp_radar: time: 500/10, free_heap: 90560, num: 10, rssi: -49, gain: 0/0, wander: 0.008767, jitter: 0.000400, window: 41, begin: 48, end: 19, freq: 82Hz
W (34974) esp_radar: The capacity of subcarrier recording during calibration is exceeded, num: 10, corr: 0.991233
I (34974) esp_radar: time: 509/10, free_heap: 90560, num: 10, rssi: -50, gain: 0/0, wander: 0.009244, jitter: 0.000298, window: 40, begin: 68, end: 38, freq: 78Hz
W (35214) esp_radar: The capacity of subcarrier recording during calibration is exceeded, num: 10, corr: 0.990756
I (35214) esp_radar: time: 501/10, free_heap: 90560, num: 10, rssi: -50, gain: 0/0, wander: 0.008833, jitter: 0.000192, window: 36, begin: 18, end: 54, freq: 71Hz
W (35434) esp_radar: The capacity of subcarrier recording during calibration is exceeded, num: 10, corr: 0.991167

Also post training when I start sending csi data I see the following warning

RADAR_DADA,1437,1235444,0.008653,0.004736,0.004296,1,0.001287,0.000751,0.015615,1
W (1235654) algorithm: [169] fail
W (1235654) esp_radar: [509] csi calculate fail
RADAR_DADA,1438,1235894,0.007262,0.004836,0.004296,1,0.000292,0.000751,0.015615,1
I (1236174) esp_radar: time: 511/10, free_heap: 90200, num: 10, rssi: -48, gain: 0/0, wander: 0.008012, jitter: 0.002526, window: 35, begin: 18, end: 53, freq: 68Hz
RADAR_DADA,1439,1236174,0.008012,0.004980,0.004296,1,0.002526,0.000792,0.015615,1
@github-actions github-actions bot changed the title esp_radar_train warning and csi caluculate fail error esp_radar_train warning and csi caluculate fail error (AEGHB-786) Aug 20, 2024
@MacChu0315-Espressif
Copy link

Hi, to The first part of your statement, which is 'The capacity...', the reason for this output is that the program has made a value judgment on the num and corr values, and will warn when num >= 10 && corr < 0.99.
For the second point, I'm sorry I didn't understand your meaning, what operation did you do?

@ashashik
Copy link
Author

For

  1. Will this warning affect the wander threshold value accuracy ? I see it shows up within 10 seconds of starting the training .
  2. I just use csi_send program on one node and use console test on the other node . I randomly see this "csi calculate fail" on the node running console test
W (1235654) algorithm: [169] fail
W (1235654) esp_radar: [509] csi calculate fail

@MacChu0315-Espressif
Copy link

  1. nope, it's merely a warning.
  2. which means that there is a problem with the received CSI data, and the algorithm has made a calculation error and thus discarded the data of this frame.

@ashashik
Copy link
Author

Post training I sometimes see the wander threshold is returned as nan . Any way to fix this ?

RADAR_THRESHOLDS,wander = nan, jitter = 0.010993

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants