Thursday, April 4, 2024

Re: where has gr.feval_dd gone?

Hi Balthasar,

On 04/04/2024 14.12, Balthasar Indermuehle wrote:
> I'm trying to run some ~4 year old python code based on the even older
> usrp_spectrum_sense.py example.
>
> This line
>
> class tune(gr.feval_dd):
>
> triggers AttributeError: module 'gnuradio.gr' has no attribute 'feval_dd'
>
> Has this been deprecated?

feval has been removed in gnuradio 3.9 together with all the other SWIG code

> This is on a fresh anaconda install with gnuradio 3.10.9.2

You need gnuradio 3.8.* in order to have it.

https://github.com/gnuradio/gnuradio/blob/maint-3.8/gnuradio-runtime/include/gnuradio/feval.h
https://github.com/gnuradio/gnuradio/blob/maint-3.8/gnuradio-runtime/python/gnuradio/gr/qa_feval.py
https://github.com/gnuradio/gnuradio/blob/maint-3.8/gnuradio-runtime/swig/feval.i

Regards,
Vasil

No comments:

Post a Comment