summaryrefslogtreecommitdiff
path: root/gr-uhd/python/uhd/bindings/usrp_source_python.cc
Commit message (Collapse)AuthorAgeFilesLines
* uhd: wrap get_usrp_info to compatible return typeJosh Morman2020-08-141-6/+0
| | | | | | | | | | | - Move get_usrp_info() to usrp_block - Casts the return value to std::map so PyBind11 can turn it into a dictionary in Python This fixes an issue where get_usrp_info() would cause an Exception with PyBind11. Co-authored-by: Martin Braun <martin.braun@ettus.com>
* uhd: fix pybind11 bindingsJosh Morman2020-06-101-3/+19
| | | | | | | | | 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
* uhd: add pybind11 bindingsJosh Morman2020-06-041-0/+175