Remove autocorr squelch to improve sensitivity to low power signals

pull/61/head v0.6.2
Pieter Robyns 2017-09-15 13:45:40 +02:00
rodzic 829d6709e2
commit 8bf1953e6b
7 zmienionych plików z 6 dodań i 12 usunięć

Wyświetl plik

@ -1,6 +1,6 @@
# Test suite: 'decode_long_hackrf'
*Results on 2017-09-14 14:36:37.348840*
*Results on 2017-09-15 11:28:32.183183*
### 868.1 MHz, SF 7, CR 4/8, BW 125 kHz, prlen 8, crc on, implicit off

Wyświetl plik

@ -1,6 +1,6 @@
# Test suite: 'decode_long_rtl-sdr'
*Results on 2017-09-14 14:35:21.382711*
*Results on 2017-09-15 11:27:16.260766*
### 868.1 MHz, SF 7, CR 4/8, BW 125 kHz, prlen 8, crc on, implicit off

Wyświetl plik

@ -1,6 +1,6 @@
# Test suite: 'decode_long_usrp'
*Results on 2017-09-14 14:35:57.973367*
*Results on 2017-09-15 11:27:52.849819*
### 868.1 MHz, SF 7, CR 4/8, BW 125 kHz, prlen 8, crc on, implicit off

Wyświetl plik

@ -1,6 +1,6 @@
# Test suite: 'short_hackrf'
*Results on 2017-09-14 14:45:53.995797*
*Results on 2017-09-15 11:37:48.801373*
### 868.1 MHz, SF 7, CR 4/8, BW 125 kHz, prlen 8, crc on, implicit off

Wyświetl plik

@ -1,6 +1,6 @@
# Test suite: 'short_rtl-sdr'
*Results on 2017-09-14 14:37:14.668511*
*Results on 2017-09-15 11:29:09.534517*
### 868.1 MHz, SF 7, CR 4/8, BW 125 kHz, prlen 8, crc on, implicit off

Wyświetl plik

@ -1,6 +1,6 @@
# Test suite: 'short_usrp'
*Results on 2017-09-14 14:41:17.943080*
*Results on 2017-09-15 11:33:12.759248*
### 868.1 MHz, SF 7, CR 4/8, BW 125 kHz, prlen 8, crc on, implicit off

Wyświetl plik

@ -326,9 +326,6 @@ namespace gr {
autocorr = abs(dot_product / gr_complex(sqrt(energy_chirp1 * energy_chirp2), 0));
if(energy_chirp1 < 0.05f)
autocorr = 0; // TODO: fixme
return autocorr;
}
@ -699,9 +696,6 @@ namespace gr {
d_fine_sync = 0; // Always reset fine sync
// DBGR_TIME_MEASUREMENT_TO_FILE("SF7_fft_idx");
// DBGR_START_TIME_MEASUREMENT(false, gr::lora::DecoderStateToString(d_state));
switch (d_state) {
case gr::lora::DecoderState::DETECT: {
float correlation = detect_preamble_autocorr(input, d_samples_per_symbol);