Coder Social home page Coder Social logo

ghostop14 / gr-correctiq Goto Github PK

View Code? Open in Web Editor NEW
81.0 9.0 19.0 573 KB

GNURadio blocks to remove that IQ DC spike just like some software and drivers do! Three techniques available: auto, auto-tune to dc offset, and manual.

License: GNU General Public License v3.0

CMake 35.21% C 6.81% C++ 50.62% Python 7.36%
gnuradio sdr

gr-correctiq's People

Contributors

bkerler avatar ghostop14 avatar velichkov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gr-correctiq's Issues

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

Hi: I downloaded the ZIP for this install, unzipped, mkdir,etc.
I have the three blocks in my list. I created a new project, just the Osmocon, CorrectIQ, and a FFT sink.

This is the error:
AttributeError: 'module' object has no attribute 'correctiq'

hen stack overflows, I guess, OOOOO for days.
I must be missing something. Any pointers appreciated!
GNU Radio Companion 3.7.9
Thanks!
Harry

CMake Error

Hi,

I'm new to Linux and am working on a project in GNURadio using bastibl's IEEE 802-11 blocks: https://github.com/bastibl/gr-ieee802-11. I keep getting an overflow using my USRP N210, which is why I could really use your block to remove the IQ DC spike. However, I can't seem to get it correctly installed. First, when I did cmake .., I got the following error:

-- Build type not specified: defaulting to release.
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   filesystem
--   system
CMake Error at CMakeLists.txt:126 (find_package):
  By not providing "FindGnuradio.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Gnuradio",
  but CMake did not find one.

  Could not find a package configuration file provided by "Gnuradio"
  (requested version 3.7.2) with any of the following names:

    GnuradioConfig.cmake
    gnuradio-config.cmake

  Add the installation prefix of "Gnuradio" to CMAKE_PREFIX_PATH or set
  "Gnuradio_DIR" to a directory containing one of the above files.  If
  "Gnuradio" provides a separate development package or SDK, be sure it has
  been installed.

-- Configuring incomplete, errors occurred!

I figured this was because I installed my GNURadio using pybombs into the /prefix directory, so I thought I could let CMAKE look at that directory by using the command export CMAKE_PREFIX_PATH=/prefix. This worked (gave a few warnings though), but now I get the following error when executing the make command:

/usr/bin/ld: CMakeFiles/test-correctiq.dir/correctiq_impl.cc.o: undefined reference to symbol '_ZN3pmt12dict_has_keyERKN5boost13intrusive_ptrINS_8pmt_baseEEES5_'
/home/danilo/prefix/lib/libgnuradio-pmt-3.7.12git.so.0.0.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
lib/CMakeFiles/test-correctiq.dir/build.make:206: recipe for target 'lib/test-correctiq' failed
make[2]: *** [lib/test-correctiq] Error 1
CMakeFiles/Makefile2:174: recipe for target 'lib/CMakeFiles/test-correctiq.dir/all' failed
make[1]: *** [lib/CMakeFiles/test-correctiq.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2

Do you have any idea what causes this? I tried some small things, and checked I have boost installed, but can't find out what to do. Any help would be really appreciated, sorry for being a Linux noob!

Runtime error, GRC on Ubuntu

Hello,

Great writeup, great solution, thank you for making.

My setup: Running HackRF with a Raspberry Pi running Ubuntu.
using the osmocom source, QT GUI's.
grabbed your source code, built it, etc. made sure grc was closed while building.
relaunched GRC, found Correctiq, dropped it in. Ran it, got the following error:

File "/home/kevin/top_block2.py", line 165, in main()
File "/home/kevin/top_block2.py", line 153, in main tb=top_block_cls()
File "/home/kevin/top_block2.py", line 122, in_init_self.correctiq_correctiq_0=correctiq.correctiq()
AttributeError:'module' object has not attribute 'correctiq'

Got any ideas?

Attribute error

I followed the basic step but it gives me the following error:

File "/home/shuai/gnuRadioLearn/replayRSSI.py", line 156, in init
self.correctiq_correctiq_0 = correctiq.correctiq()
AttributeError: 'module' object has no attribute 'correctiq'

ModuleNotFoundError: No module named 'correctiq

Dear readers ,

I tried to install the correctiq block , installation is done via cmake../make/make install/ldconfig , all went well .
Using the block with GRC says "ModuleNotFoundError: No module named 'correctiq" . I used this wiki : https://wiki.gnuradio.org/index.php/ModuleNotFoundError to set the path correct , that didn't solver .

I did found that the correctiq files are installed in this path : usr/local/lib/python3/dist-packages/correctiq .
While my other blocks are in : usr/lib/python3/dist-packages

I tried to move from one directory to the ohter but that didn't worked .
I'm new to Linux and using Ubuntu , GRC 3.8.1.0 .
I also noticed that while installing the files it says "python3" while my GRC 3.8.1.0 says Python 3.8.5 .

Any help is appreciated .

best regards,
Kenny

problem install

I can't install packege on Ubuntu
problem in MAKE step
( Linking CXX executable test-correctiq
//usr/lib/x86_64-linux-gnu/libgnuradio-pmt.so.3.7.11: error adding symbols: DSO missing from command line
and else....)
Please help find problem.

Error when dragging block into schematic

I followed the install steps without issue.

When I drag the block into my schematic, gnuradio-companion quits with the following error:

Fatal Python error: PyThreadState_Get: no current thread
Abort trap: 6

Running gnuradio-companion on Mac OS X 10.12.3. I installed it with port.

Any help would be appreciated!

import error when trying to execute flowgraph

I am using GNURadio 3.8.1.0 and setup up your block with no problems but when I add any of the new blocks to a flowgraph and try to execute it I get this error on arch linux:

Traceback (most recent call last):
File "/home/alexx/yagitest.py", line 35, in
import correctiq
File "/usr/lib/python3.8/site-packages/correctiq/init.py", line 27, in
from .correctiq_swig import *
File "/usr/lib/python3.8/site-packages/correctiq/correctiq_swig.py", line 13, in
from . import _correctiq_swig
ImportError: libgnuradio-correctiq.so.3.0.0git: cannot open shared object file: No such file or directory

Done (return code 1)

Any idea how to fix this? I really want to get this working thanks.

Unable to CMake due to python bindings out of sync for associated headers

Comment with a quick-ish fix.

I was unable to attain success when building from the git; kept getting a "Python bindings for correctiq.h are out of sync" error. So, after I RTFM, on a hunch, I ran 'md5sum correctiq.h' (gr-correctiq/include/correctiq/correctiq.h) and had something completely different than the BINDTOOL_HEADER_FILE_HASH value in correctiq_python.cc (gr-correctiq/python/bindings/correctiq_python.cc).

Long story short, need to recalc the md5 hashes for correctiq.h, correctiq_auto.h, correctiq_man.h, and SwapIQ.h and slap those puppies into the X_python.cc 'BINDTOOL_HEADER_FILE_HASH(XXX)' (line 17 for each file).

After doing that, all compiling completed without issue.

019fe014e1a0b11108cc8c5984d9fe23 correctiq_auto.h bd2c83d1f9e31c5e9775d435e21a01c1 correctiq.h 2169edbbd6349b9f4a17fc4c7c382a36 correctiq_man.h 38a3f44a9f24c287566dc0c6dbd011e1 SwapIQ.h

Edit: Added relative path information and included current (as of writing) md5 hashes for each file.

what's a different of correctiq and IQ correct in grc 3.9

Hi guys, i am a beginner of ubuntu and grc but i have something to do with gnuradio and ettus e320. then, I try to remove a DC spike at center frequency and i found gr-correctiq but i tried to install with grc 3.9 but i cannot used this module. grc was showed "ModuleNotFoundError: No module named 'correctiq" same the previous issue. however, I found IQ correct module that preinstall with grc 3.9 already. then, I'd like to know their are same or different function.

if their are a different function, please help me to solve and use it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.