Hello,
Recently, I using gr_modtool to create my own block. I add a c++ block and in the .h file I add a function, but after compile it I cannot call my function in python I just get error message "AttributeError: '(My blocks)' object has no attribute '(function)'". I compare my code with other lot code. I have no idea where the problem is, because I don't feel like the c++ code wrong. I guess is swig, but other code also not change anything so I got confused. What is going wrong?
Thanks
Jeff Guo
No comments:
Post a Comment