Hi Johannes, I gave this a try today so I thought I'd pass on my results:-
Firstly, I found that I could not 'import lte' as sync_cc.py could not import 'window' from gnuradio. I 'fixed' that by changing sync_cc.py as follows:- self.pfft = fft.fft_vcc(fftl, True, window.rectangular(fftl), False, 1) to self.pfft = fft.fft_vcc(fftl, True, fft.window.rectangular(fftl), False, 1) Now when I run it with my reference waveform I see:- -------------------------------------------------------------------------------- Press Enter to quit: pss_calculator_vcm NEW half_frame_start = -13166 N_id_2 = 0 corr_val = 27512.798828 pss_calculator_vcm NEW half_frame_start = -8784 N_id_2 = 2 corr_val = 30075.925781 pss_calculator_vcm NEW half_frame_start = 13187 N_id_2 = 0 corr_val = 33294.562500 sync_frequency_c ASYNC! new offset = 6611 old offset = 0 samp_num = 5910 pss_calculator_vcm NEW half_frame_start = 21971 N_id_2 = 1 corr_val = 35808.539062 sync_frequency_c ASYNC! new offset = 13187 old offset = 6611 samp_num = 5899 pss_calculator_vcm NEW half_frame_start = 43907 N_id_2 = 0 corr_val = 36685.992188 sync_frequency_c ASYNC! new offset = 15 old offset = 13187 samp_num = 15027 pss_calculator_vcm is locked! half_frame_start = 61455 N_id_2 = 0 corr_val = 36685.992188 sync_frequency_c ASYNC! new offset = 16 old offset = 15 samp_num = 12763 sss_calculator_vcm locked to frame_start = 215056 abs_pos = 1751056 cell_id = 132 sss_calculator_vcm publish_frame_start 215056 sss_calculator_vcm publish_cell_id 132 <bound method block_gateway_sptr.block__name of <block_gateway>> received cell_id = 132 <bound method block_gateway_sptr.block__name of <block_gateway>> cell_id = cell_id = 132 132 generating RS map! received cell_id = 132 generating RS map! remove_cp_cvc frame_start = 1751056 mod start = 215056 Segmentation fault -------------------------------------------------------------------------------- I'm not certain whether CID 132 is correct for this waveform so it's hard to say whether it's working up to the seg fault or not. Regards, Mike On 15 December 2013 10:34, Johannes Demel <uf...@student.kit.edu> wrote: > Hello GNU Radio enthusiasts, > > some time after the GNU Radio 3.7 release I started to move the code for > 'gr-lte' to the new API. Besides moving it to the new API, I wanted to > clean up code and rework a lot of tests. Thus, the whole transition took > a lot of time and work. > Now, all current blocks are moved to the GNU Radio 3.7 API with lots of > enhancements. e.g. I tried to remove all hierarchical python blocks and > created them as GRC hier blocks instead. Or runtime status events, like > cell_id extraction, are all propagated through message ports now. > Also, there is a PyBOMBS recipe now to ease the installation process. > > I hope 'gr-lte' can be useful for others. > > Source code is available at https://github.com/kit-cel/gr-lte > > Happy hacking > Johannes > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio