nkargas / Gen2-UHF-RFID-Reader

Gen2 UHF RFID reader with USRP and GNU Radio. Tested with USRPN200 and GNU Radio v3.7.4
GNU General Public License v3.0
216 stars 120 forks source link

How can I add add files in lib? #7

Closed whitecloudy closed 4 years ago

whitecloudy commented 5 years ago

I try to add some of my files in the 'lib' directory and use the class that I made. But every time I tried to call any function in the class at the 'tag_decoder.cc', 'reader.py' occurs AttributeError written below.

AttributeError: 'module' object has no attribute 'gate'

And of course when I erase what I wrote in 'tag_decoder.cc', this problem disappears...... Is there anyone can help me?

Wangshuai8156 commented 4 years ago

Hi!Do you solve your problem? I am into the same problem.I hope to get help.thanks!

whitecloudy commented 4 years ago

I figured out that I insert some cmake code in wrong way...... That's all I understand and after I fixed it, it works normally.