diff options
author | Josh Morman <mormjb@gmail.com> | 2020-06-10 10:30:12 -0400 |
---|---|---|
committer | Josh Morman <mormjb@gmail.com> | 2020-06-10 13:26:30 -0400 |
commit | 0f7369481c40f4b841de8d4f6eca825e7e7b4bda (patch) | |
tree | 4498000e906a58639a0bd3a5243ba74ea85d91f9 /gr-uhd/examples/grc | |
parent | 868ec8eecaa1d06696bc072bcf5db300d00da130 (diff) |
uhd: fix pybind11 bindings
Instead of relying on the pyuhd pybind11 bindings, create new gr::uhd
pybind11 bindings that wrap the underlying types. Trying to use the
pyuhd bindings directly has many issues
Also, push some of the overloading into the constructors as opposed to
in the __init__ functions with constructor interception
Diffstat (limited to 'gr-uhd/examples/grc')
-rw-r--r-- | gr-uhd/examples/grc/uhd_fft.grc | 2 | ||||
-rw-r--r-- | gr-uhd/examples/grc/uhd_siggen_gui.grc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gr-uhd/examples/grc/uhd_fft.grc b/gr-uhd/examples/grc/uhd_fft.grc index f7808f4a99..2c7bfa4a25 100644 --- a/gr-uhd/examples/grc/uhd_fft.grc +++ b/gr-uhd/examples/grc/uhd_fft.grc @@ -70,7 +70,7 @@ blocks: function_args: '"''lo_locked''"' function_name: get_sensor poll_rate: '10' - value: uhd.sensor_value("", False, "") + value: uhd.sensor_value("", False, "", "") states: bus_sink: false bus_source: false diff --git a/gr-uhd/examples/grc/uhd_siggen_gui.grc b/gr-uhd/examples/grc/uhd_siggen_gui.grc index a3066633d8..aa3a03db15 100644 --- a/gr-uhd/examples/grc/uhd_siggen_gui.grc +++ b/gr-uhd/examples/grc/uhd_siggen_gui.grc @@ -92,7 +92,7 @@ blocks: function_args: '"''lo_locked''"' function_name: get_sensor poll_rate: '10' - value: uhd.sensor_value("", False, "") + value: uhd.sensor_value("", False, "", "") states: bus_sink: false bus_source: false |