Increased number of samples extracted

This is to fix an issue where not enough samples were being extracted and the OFDM symbol processing logic was walking off the edge of the array
In the future there needs to be a way to specify how many extra samples to extract.
gr-droneid-3.8
proto17 2022-05-03 22:40:12 -04:00 zatwierdzone przez GitHub
rodzic 04cf23a989
commit f8bde33203
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -53,7 +53,7 @@ namespace gr {
set_msg_handler(pmt::mp("pdus"), [this](pmt::pmt_t pdu){handle_msg(pdu);});
cfo_cp_len_ = short_cp_len_;
cfo_buffer_.resize(cfo_cp_len_ * 2);
// sample_buffer_.resize((fft_size_ * 9) + (long_cp_len_ * 2) + (short_cp_len_ * 7));
// sample_buffer_.resize((fft_size_ * 11) + (long_cp_len_ * 2) + (short_cp_len_ * 7));
cp_lengths_ = {
long_cp_len_,