Hi Kyle - after I build gr-fhss_utils and run the tests, all 3 tests fail.

Do the tests work?

I did a pull but it was up to date.

I'm running gnuradio 3.8.2.0 on Debian 10 or buster.

-- Cinaed

Running tests...
Test project /opt/gnuradio/src/gr-oot/gr-fhss_utils/build
    Start 1: qa_cf_estimate
1/3 Test #1: qa_cf_estimate ...................***Failed    0.34 sec
    Start 2: qa_fft_burst_tagger
2/3 Test #2: qa_fft_burst_tagger ..............***Failed    0.32 sec
    Start 3: qa_tagged_burst_to_pdu
3/3 Test #3: qa_tagged_burst_to_pdu ...........***Failed    0.32 sec

0% tests passed, 3 tests failed out of 3

Total Test time (real) =   0.99 sec

The following tests FAILED:
      1 - qa_cf_estimate (Failed)
      2 - qa_fft_burst_tagger (Failed)
      3 - qa_tagged_burst_to_pdu (Failed)
Errors while running CTest
make: *** [Makefile:86: test] Error 8



On 12/1/20 8:48 AM, Kyle A Logue wrote:
just did a quick test, couldn't be simpler

max_i reports the argmax of the fft, with wrapping

So in the above example:

  * 1 kHz -> 1
  * 5.5 kHz -> 5
  * -1 kHz -> 31
  * -8 KHz -> 24


increase from 32 to increase resolution

Kyle
------------------------------------------------------------------------
*From:* james jordan <james.jordan....@hotmail.com>
*Sent:* Monday, November 30, 2020 18:37
*To:* Kyle A Logue <kyle.a.lo...@aero.org>; discuss-gnuradio@gnu.org <Discuss-gnuradio@gnu.org>
*Subject:* Re: how to auto detect peak frequency in QT FFT sink
Hi Kyle,
is there any document for how to use the block in gr-fhss-utils especially for fft peak block. what is the two output of fft peak?


<http://aka.ms/weboutlook>
------------------------------------------------------------------------
*From:* Kyle A Logue <kyle.a.lo...@aero.org>
*Sent:* Friday, November 20, 2020 12:26 AM
*To:* james jordan <james.jordan....@hotmail.com>; discuss-gnuradio@gnu.org <Discuss-gnuradio@gnu.org>
*Subject:* Re: how to auto detect peak frequency in QT FFT sink
cmake version is too low so i can not build gr-fhss
gr-fhss has a 3.7 and a 3.8 version if you check the tags on github

how to store max result to a gui label?
qt-number-sink maybe
------------------------------------------------------------------------
*From:* james jordan <james.jordan....@hotmail.com>
*Sent:* Wednesday, November 18, 2020 22:07
*To:* Kyle A Logue <kyle.a.lo...@aero.org>; discuss-gnuradio@gnu.org <Discuss-gnuradio@gnu.org>
*Subject:* Re: how to auto detect peak frequency in QT FFT sink
Hi Kyle,
Thanks. my cmake version is too low so i can not build gr-fhss. i try to use fft->max but how to store max result to a gui label?



<http://aka.ms/weboutlook>
------------------------------------------------------------------------
*From:* Kyle A Logue <kyle.a.lo...@aero.org>
*Sent:* Thursday, November 19, 2020 4:05 AM
*To:* james jordan <james.jordan....@hotmail.com>; discuss-gnuradio@gnu.org <Discuss-gnuradio@gnu.org>
*Subject:* Re: how to auto detect peak frequency in QT FFT sink
2 things that come to mind:

 1. stream -> fft -> argmax
 2. in sandia fhss utilities they have an FFT Peak block that does
    what you want

https://github.com/sandialabs/gr-fhss_utils <https://github.com/sandialabs/gr-fhss_utils>

*Kyle Logue*
/Senior Engineering Specialist/
//⚝ /The Aerospace Corporation/
------------------------------------------------------------------------
*From:* Discuss-gnuradio <discuss-gnuradio-bounces+kyle.a.logue=aero....@gnu.org> on behalf of james jordan <james.jordan....@hotmail.com>
*Sent:* Monday, November 16, 2020 19:09
*To:* discuss-gnuradio@gnu.org <Discuss-gnuradio@gnu.org>
*Subject:* how to auto detect peak frequency in QT FFT sink
Hi all,
i want to see the fft of the signal and also want to detect the peak frequency if there is a peak signal.
how to achieve this?

Reply via email to