Code Monkey home page Code Monkey logo

gr-tempest's People

Contributors

fcarraustewart avatar fcarraustewart-focus avatar git-artes avatar pablobertrand 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gr-tempest's Issues

Error on normalize_flow

File "/home/kali/gr-tempest/examples/semi_automatic_tempest_example.py", line 149, in init
self.tempest_normalize_flow_0 = tempest.normalize_flow(10, 245, interpolatedHsize, 1e-2, 0.1)
AttributeError: module 'tempest' has no attribute 'normalize_flow'

every time, on every sample that i try, it gives this error.
any idea of what it could be?

ModuleNotFoundError: No module named 'tempest'

Dear Federico, thank you for sharing your implementation! I am struggeling getting it to work on latest kali linux though, I was able to build it (long struggle installing mpir) but not in gnuradio it says "tempest ModuleNotFound". I would really appreciate your help. Also I will try to provide further information you need. Thank you very much in advance!

Block paths:
/usr/share/gnuradio/grc/blocks
/usr/local/share/gnuradio/grc/blocks

Loading: "/home/kali/gr-tempest/examples/automatic_tempest_example.grc"

Done

Generating: '/home/kali/gr-tempest/examples/automatic_tempest_example.py'

Executing: /usr/bin/python3 -u /home/kali/gr-tempest/examples/automatic_tempest_example.py

Traceback (most recent call last):
File "/home/kali/gr-tempest/examples/automatic_tempest_example.py", line 36, in
import tempest
ModuleNotFoundError: No module named 'tempest'

Done (return code 1)

Make error on latest Arch Linux

Hello!

Trying to build on latest Arch Linux. This is the output of "make":

[ 12%] Building CXX object lib/CMakeFiles/gnuradio-tempest.dir/sampling_synchronization_impl.cc.o
/home/user/Files/gr-tempest/lib/sampling_synchronization_impl.cc: In static member function ‘static gr::tempest::sampling_synchronization::sptr gr::tempest::sampling_synchronization::make(int, double)’:
/home/user/Files/gr-tempest/lib/sampling_synchronization_impl.cc:42:9: error: could not convert ‘gnuradio::get_initial_sptr(T*) with T = gr::tempest::sampling_synchronization_impl’ from ‘std::shared_ptrgr::tempest::sampling_synchronization_impl’ to ‘gr::tempest::sampling_synchronization::sptr’ {aka ‘boost::shared_ptrgr::tempest::sampling_synchronization’}
41 | return gnuradio::get_initial_sptr
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
42 | (new sampling_synchronization_impl(Htotal, manual_correction));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| std::shared_ptrgr::tempest::sampling_synchronization_impl
make[2]: *** [lib/CMakeFiles/gnuradio-tempest.dir/build.make:76: lib/CMakeFiles/gnuradio-tempest.dir/sampling_synchronization_impl.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:233: lib/CMakeFiles/gnuradio-tempest.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

Any help is appreciated (:

Using omnidirectional antenna

First, thanks for a really interesting project.
I've managed to build and run the example with no issues related to the project code.
I'm running gnuradio 3.7.14.0 and using ettus b200mini with RF Solutions Antenna ANT-4WHIP3H-SMA, Whip SMA 433MHz. The reason for the details about the antenna is because my question is regarding the antenna.
The video shows what seems like directional antenna. Would you expect omnidirectional to work as well?

We are trying to use it on both VGA and HDMI cables but with no luck. The monitors in question have fairly high resolution. We did try lowering the resolution but it made no difference. I'm not sure if lowering the monitor resolution on the windows display settings has any effect on signal in HDMI cable.
We tried two monitor:

  • 1920x1080 at 60Hz
  • 2560 x 1440 at 60Hz
    Do you have any suggestions what we might try?

SDRs issues about gr-tempest?

Hello again!

I've been working on gr-tempest for a while now, and I have several questions.
To contextualize, I don't have an USRPB200, but an ADALM-PLUTO and a HACKRF.
Also, I can read the "grabacion" files without any problem.
However, I don't have a readable result for HDMI.

  • Are there any "grabacion" file which are not recorded with USRPB200 but with a cheaper SDR?

  • Do someone know or have experienced gr-tempest with a HackRF or an ADALM-PLUTO? If so, could you give me your setup/what have you done for getting a good result with HDMI

  • Does the signal from the "grabacion_HDMI.dat" files have been filtered ? (I can see harmonics with my SDRs)

Thank you!

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

Hello,
Thanks for this project.
I managed to install it on Ubuntu.
File "/home/user/gr-tempest/build/gr-tempest/examples/semi_automatic_tempest_example.py", line 116, in init
self.tempest_sampling_synchronization_0 = tempest.sampling_synchronization(interpolatedHsize, epsilon)
AttributeError: 'module' object has no attribute 'sampling_synchronization'

I get this error, any idea?
Thanks

Compilation error: Python bindings for Hsync.h are out of sync

Hello, i trying compile gr-tempest on xubuntu 22.04

cmake ..
-- Build type not specified: defaulting to release.
-- Using GMP.
-- User set python executable /usr/bin/python3
-- Extracting version information from git describe...
-- Using install prefix: /usr/local
-- Building for version: 1.0.0.0 / 1.0.0
-- No C++ unit tests... skipping
-- PYTHON and GRC components are enabled
-- Python checking for pygccxml - found
-- Found pybind11: /usr/include (found version "2.9.1")
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/gnuradio/GrPybind.cmake:221 (message):
Python bindings for Hsync.h are out of sync
Call Stack (most recent call first):
python/tempest/bindings/CMakeLists.txt:42 (GR_PYBIND_MAKE_OOT)

-- Configuring incomplete, errors occurred!
See also "/home/elton/softwares-linux/gr-tempest/build/CMakeFiles/CMakeOutput.log".

I have GNU Radio companion 3.10.1.1 (Python 3.10.6)

Starting problem semi_automatic_tempest_example

When running an example from the gr-tempest / examples library, I have the following problems finding the default list item. The program swears and gives an error. How to deal with this?
I have GNU Radio Companion v3.8.2.0-119-gcba012fb, UHD 4.0.0.0-133-g7ec04886 and Volk 2.0. on a Virtual Machine Ubuntu 21.04 64-bit.

Below is the log from the GNU Radio terminal and the screen of the program

Generating: '/home/gnu/workarea/gr-tempest/examples/semi_automatic_tempest_example.py'
Executing: /usr/bin/python3 -u /home/gnu/workarea/gr-tempest/examples/semi_automatic_tempest_example.py
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Traceback (most recent call last):
File "/home/gnu/workarea/gr-tempest/examples/semi_automatic_tempest_example.py", line 438, in
main()
File "/home/gnu/workarea/gr-tempest/examples/semi_automatic_tempest_example.py", line 414, in main
tb = top_block_cls()
File "/home/gnu/workarea/gr-tempest/examples/semi_automatic_tempest_example.py", line 131, in init
self._mode_callback(self.mode)
File "/home/gnu/workarea/gr-tempest/examples/semi_automatic_tempest_example.py", line 130, in
self._mode_callback = lambda i: Qt.QMetaObject.invokeMethod(self._mode_combo_box, "setCurrentIndex", Qt.Q_ARG("int", self._mode_options.index(i)))
ValueError: 20 is not in list

Done (return code 1)

image

Technical questions about gr-tempest

Hello!

I've been working on gr-tempest for a while now, and I have several questions.
To contextualize, I don't have a USRPB200, but an ADALM-PLUTO and a HACKRF.
Also, I can read the "grabacion" files without any problem.
However, I don't have a readable result for HDMI.

  • I know the "sample_rate" influence the quality but are there any limits that should not be exceeded?

  • What is the MAX deviation ? (in "Fine Sampling Synchronization")

  • Does the result depend on the fundamental frequency ? (because of my setup, the fundamental frequency that I have is not the same as the one the creator of gr-tempest have)

Thank you!

Understanding The Waveforms

Hi there,
I love this project, and I have managed to get a couple of the waveforms working!
I have been studying the manual_tempest_example.grc waveform and am struggling to understand the function of each block, and how that function is achieved.

I was hoping you could please quickly go through the source code and add some comments that describe what each block does as a whole, and how individual functions work? the math and DSP behind some of the functions baffles me, but if I knew what the intend was it would greatly help.

Thank you

Support for 3.9

Current release is incompatible with GNU Radio 3.9 due to removal of GrSWIG. Any plans on supporting version 3.9? What would be required to port this to newer versions of GNU Radio?

make error on osx

Hi,this project is cool,I try to use it on mac,but can't build it:

make

Scanning dependencies of target gnuradio-tempest
[  4%] Building CXX object lib/CMakeFiles/gnuradio-tempest.dir/Hsync_impl.cc.o
[  8%] Building CXX object lib/CMakeFiles/gnuradio-tempest.dir/sampling_synchronization_impl.cc.o
/Users/x/sdr/gr-tempest/lib/sampling_synchronization_impl.cc:53:39: error: expected '(' for function-style cast or type construction
              d_gen(std::random_device{}())
                    ~~~~~~~~~~~~~~~~~~^
1 error generated.
make[2]: *** [lib/CMakeFiles/gnuradio-tempest.dir/sampling_synchronization_impl.cc.o] Error 1
make[1]: *** [lib/CMakeFiles/gnuradio-tempest.dir/all] Error 2
make: *** [all] Error 2
info:
osx 10.14.6
gnuradio 3.7.13.5

any ideal to fix it? thanks.

simulate tempest with python

Hi there,
I'm interested in this project. I wanna simulate that offline with python. Actually, I wanna read signals from a file and convert them to the monitor's image. I watched this video: https://youtu.be/k_vsFspGpAA, but I have some questions about DSP parts.
There are 5 blocks, "Hsync", "fine_sampling_synchronization", "framing", "normalize_flow", "sampling_synchronization". I would like to know what each block is used for, what are its inputs and outputs, and what its chain is? Are there other blocks as well?

Thank you

Source of "30M_tv_g50_v2.dat" file

Hello, I am attempting to run the manual_tempest_example.grc after successfully building the code and installing after following the README. However, once I launch gnuradio-companion and try to execute the aforementioned .grc I get an error because the File Source module is looking for a file that is not present, namely the "30M_tv_g50_v2.dat" file. Apologies for my ignorance, but I was unable to locate the source file in the repo, or find and obvious references to sources or downloads to it. Could you please tell me where I can find this file?

Thank you for your work keeping this project alive! I am new to hobby RF and SDR work but I am trying to jump in and experience some of this amazing tech.

Attached is an image of the grc output.
image

make failed on ubuntu

make

Scanning dependencies of target gnuradio-tempest
[  4%] Building CXX object lib/CMakeFiles/gnuradio-tempest.dir/Hsync_impl.cc.o
[  8%] Building CXX object lib/CMakeFiles/gnuradio-tempest.dir/sampling_synchronization_impl.cc.o
In file included from /usr/include/c++/5/random:35:0,
                 from /home/x/SDR/gr-tempest/lib/sampling_synchronization_impl.h:29,
                 from /home/x/SDR/gr-tempest/lib/sampling_synchronization_impl.cc:30:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support \
  ^
In file included from /home/x/SDR/gr-tempest/lib/sampling_synchronization_impl.cc:30:0:
/home/x/SDR/gr-tempest/lib/sampling_synchronization_impl.h:55:15: error: ‘uniform_real_distribution’ in namespace ‘std’ does not name a template type
          std::uniform_real_distribution<float> d_dist;
               ^
/home/x/SDR/gr-tempest/lib/sampling_synchronization_impl.h:56:15: error: ‘minstd_rand’ in namespace ‘std’ does not name a type
          std::minstd_rand d_gen;
               ^
/home/x/SDR/gr-tempest/lib/sampling_synchronization_impl.cc: In constructor ‘gr::tempest::sampling_synchronization_impl::sampling_synchronization_impl(int, double)’:
/home/x/SDR/gr-tempest/lib/sampling_synchronization_impl.cc:52:15: error: class ‘gr::tempest::sampling_synchronization_impl’ does not have any field named ‘d_dist’
               d_dist(0, 1),
               ^
/home/x/SDR/gr-tempest/lib/sampling_synchronization_impl.cc:53:15: error: class ‘gr::tempest::sampling_synchronization_impl’ does not have any field named ‘d_gen’
               d_gen(std::random_device{}())
               ^
/home/x/SDR/gr-tempest/lib/sampling_synchronization_impl.cc:53:21: error: ‘random_device’ is not a member of ‘std’
               d_gen(std::random_device{}())
                     ^
/home/x/SDR/gr-tempest/lib/sampling_synchronization_impl.cc: In member function ‘virtual int gr::tempest::sampling_synchronization_impl::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’:
/home/x/SDR/gr-tempest/lib/sampling_synchronization_impl.cc:177:19: error: ‘d_gen’ was not declared in this scope
         if(d_dist(d_gen)<d_proba_of_updating){
                   ^
/home/x/SDR/gr-tempest/lib/sampling_synchronization_impl.cc:177:24: error: ‘d_dist’ was not declared in this scope
         if(d_dist(d_gen)<d_proba_of_updating){
                        ^
lib/CMakeFiles/gnuradio-tempest.dir/build.make:86: recipe for target 'lib/CMakeFiles/gnuradio-tempest.dir/sampling_synchronization_impl.cc.o' failed
make[2]: *** [lib/CMakeFiles/gnuradio-tempest.dir/sampling_synchronization_impl.cc.o] Error 1
CMakeFiles/Makefile2:174: recipe for target 'lib/CMakeFiles/gnuradio-tempest.dir/all' failed
make[1]: *** [lib/CMakeFiles/gnuradio-tempest.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
OS:ubuntu 16.04
GNURadio:3.7.12.0

Recording data to run offline

Hey gus do you have some kind of tutorial to record fisr and then see the image offline?
The settings needed to record the sample dat file to the program works.

Building warnings

Hello I'm trying to compile gr-temepst on Ubuntu 22.04.4 with GNU Radio 3.10.1.1 (Python 3.10.12).

I have to redo all the target bindings on my own. Then,after running

cmake ../
make && sudo make install

I get the following output:

issue.txt

When I run gr_tempest examples , in some examples (e.g.: gr_tempest_v2-0-0_VGA_fs_50MHz_fc_300MHz.grc ) some blocks are named "Missing Block" and those examples where all blocks are current (e.g.: manual_simulated_tempest_example.grc) I get the output:

Traceback (most recent call last):
File "/home/.../Desktop/gr-tempest/examples/manual_simulated_tempest_example.py", line 41, in
import tempest
ModuleNotFoundError: No module named 'tempest'

However my PYTHONPATH contains:
/usr/local/lib/python3.10/dist-packages/

What am I doing wrong?

grc not starting

hello

Thanks for volks correction

Here is a new one

SDR is ETTUS b210 working fine with gqrx, gr-gsm , ...

when starting automatic_tempest_example.grc here is the error

lunbuntu from dragon_OS suite 18.04

<<< Welcome to GNU Radio Companion 3.7.11 >>>

Block paths:
/usr/share/gnuradio/grc/blocks
/usr/local/share/gnuradio/grc/blocks

Loading: "/home/xxxxxx/gr-tempest/examples/automatic_tempest_example.grc"

Done

Generating: '/home/xxxxxx/gr-tempest/examples/automatic_tempest_example.py'

Executing: /usr/bin/python -u /home/xxxxxx/gr-tempest/examples/automatic_tempest_example.py

QApplication: invalid style override passed, ignoring it.
SDL screen_mode 32 bits-per-pixel
SDL overlay_mode 842094169
Traceback (most recent call last):
File "/home/xxxxxx/gr-tempest/examples/automatic_tempest_example.py", line 323, in
main()
File "/home/xxxxxx/gr-tempest/examples/automatic_tempest_example.py", line 311, in main
tb = top_block_cls()
File "/home/xxxxxx/gr-tempest/examples/automatic_tempest_example.py", line 105, in init
self.tempest_sampling_synchronization_0 = tempest.sampling_synchronization(interpolatedHsize, 0)
AttributeError: 'module' object has no attribute 'sampling_synchronization'

Done

thanks

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.