From b8c393346413d92103680d74c3b3e1f559ce9295 Mon Sep 17 00:00:00 2001 From: Guy Taylor Date: Fri, 18 May 2018 20:01:01 +0100 Subject: [PATCH] Fix broken test Set the test args to fft_burst_tagger::make to be simlar to real world values. This fixes the test and issue #21. --- lib/qa_fft_burst_tagger.cc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lib/qa_fft_burst_tagger.cc b/lib/qa_fft_burst_tagger.cc index 84ce0e9..64c47e4 100644 --- a/lib/qa_fft_burst_tagger.cc +++ b/lib/qa_fft_burst_tagger.cc @@ -30,7 +30,17 @@ namespace gr { void qa_fft_burst_tagger::t1() { - fft_burst_tagger::make(1024, 1000000, 1000, 1000, 100, 0, 7.0, 512, false); + // + fft_burst_tagger::make(1626000000, /* center_frequency */ + 4096, /* fft_size */ + 1000000, /* sample_rate */ + 4096, /* burst_pre_len */ + 8*4096, /* burst_post_len */ + 40, /* burst_width */ + 0, /* max_bursts */ + 7.0, /* threshold */ + 512, /* history_size */ + false /* debug*/); } } /* namespace iridium */