Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic Channel model block issue #99

Open
MaxCrt opened this issue Jun 16, 2024 · 2 comments
Open

Dynamic Channel model block issue #99

MaxCrt opened this issue Jun 16, 2024 · 2 comments

Comments

@MaxCrt
Copy link

MaxCrt commented Jun 16, 2024

After using GNUradio 3.7 and 3.8, I installed the latest Gnuradio version 3.10.10.

I tried several times to utilize the Dynamic Channel model block on 3.10.10, without success.
While on 3.7 and 3.8 it works always.

Here you find the error reported:
File "C:\GNU Radio 3.10 my files\DmrIQPlayer.py", line 213, in init
self.channels_dynamic_channel_model_0 = channels.dynamic_channel_model(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: init(): incompatible constructor arguments. The following argument types are supported:
1. gnuradio.channels.channels_python.dynamic_channel_model(samp_rate: float, sro_std_dev: float, sro_max_dev: float, cfo_std_dev: float, cfo_max_dev: float, N: int, doppler_freq: float, LOS_model: bool, K: float, delays: list[float], mags: list[float], ntaps_mpath: int, noise_amp: float, noise_seed: float)

Invoked with: 93750, 1, 10, 1, 10, 6, 10, False, 4.0, 0.0, 5.0, 20.0, 50.0, 80.0, 1.0, 0.8, 0.7, 0.6, 0.1, 8, 0, 0

Done (return code 1)

Could you check that block works properly on 3.10.10 ?

Thanks in advance

BR,
Max IK1RGI

@ryanvolz
Copy link
Owner

I see this as well. It looks like a proper GNU Radio bug. Can you post this as an issue upstream at https://github.com/gnuradio/gnuradio/issues?

@MaxCrt
Copy link
Author

MaxCrt commented Jun 19, 2024

Hi Ryan, gnuradio thread found the issue in the code. Compared to the old same block, they forgot to put the list of array's value you type between []. The code is not adding the "[....]". Lib has to be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants