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

config_v2.yaml; when configuring Jamming waveform 3=gaussian noise, script jamRF_v2.py stops with an error #3

Open
yvvirelessguy opened this issue May 17, 2023 · 0 comments

Comments

@yvvirelessguy
Copy link

config file: config_v2.yaml
issue:
when configuring Jamming waveform 3=gaussian noise,
script stops with the next error:
TypeError: init(): incompatible constructor arguments. The following argument types are supported:
1. gnuradio.analog.analog_python.noise_source_c(type: gr::analog::noise_type_t, ampl: float, seed: int = 0)
Invoked with: <noise_type_t.GR_GAUSSIAN: 201>, 1, 0.5
fixing:
in file JamRF.py, line 84
use:
source = analog.noise_source_c(analog.GR_GAUSSIAN, 0.5, 1)
instead of:
source = analog.noise_source_c(analog.GR_GAUSSIAN, 1, 0.5)

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

1 participant