Giter Club home page Giter Club logo

gr-dvbt's People

Contributors

bogdandia avatar bryant1410 avatar giomasce avatar jmcorgan 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  avatar  avatar  avatar  avatar  avatar  avatar

gr-dvbt's Issues

cannot compile with gnuradio 3.8

Hello,

Unfortunately this will not compile with gnuradio 3.8. Can you please make a version for gnuradio 3.8 ? I would appreciate it so much. Thank you

-- Build type not specified: defaulting to release.
CMake Error at CMakeLists.txt:88 (find_package):
  Could not find a configuration file for package "Gnuradio" that is
  compatible with requested version "3.7.2.1".

  The following configuration files were considered but not accepted:

    /usr/lib/x86_64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake, version: 3.8.1.0
    /lib/x86_64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake, version: 3.8.1.0



-- Configuring incomplete, errors occurred!

Verify asserts in debug mode

There are many asserts that take action only in debug mode. This issue is opened for verifying and fixing all of the errors that may appear when using those asserts.

using standard viterbi block from trellis (enhancement)

Thanks for this package. I am trying to work through it, and am wondering why you chose to rewrite the viterbi_decoder rather than use one from the gnuradio trellis coding package. Could you take a look and see if it would make sense to use the standard Viterbi block? What parameters would I use?

Not Compiling

Can anyone help me out compiling?
I've installed all the dependencies, but cmake still is having trouble:

[root@ernesto gr-dvbt]# mkdir build
[root@ernesto gr-dvbt]# cd build
[root@ernesto build]# cmake ../
-- The CXX compiler identification is GNU 4.8.2
-- The C compiler identification is GNU 4.8.2
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Build type not specified: defaulting to release.
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- filesystem
-- system
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
Checking for GNU Radio Module: RUNTIME
-- checking for module 'gnuradio-runtime'
-- found gnuradio-runtime, version 3.7.2.1

  • INCLUDES=/usr/include

  • LIBS=/lib64/libgnuradio-runtime.so;/lib64/libgnuradio-pmt.so
    -- Found GNURADIO_RUNTIME: /lib64/libgnuradio-runtime.so;/lib64/libgnuradio-pmt.so
    GNURADIO_RUNTIME_FOUND = TRUE
    -- checking for module 'cppunit'
    -- found cppunit, version 1.13.2
    -- Found CPPUNIT: /usr/lib64/libcppunit.so;dl
    -- checking for module 'volk'
    -- found volk, version 0.1
    -- Found VOLK: /lib64/libvolk.so
    -- Found SWIG: /usr/bin/swig (found version "2.0.12")
    -- Found PythonLibs: /usr/lib64/libpython2.7.so (found suitable version "2.7.6", minimum required is "2")
    CMake Warning (dev) at cmake/Modules/GrSwig.cmake:25 (include):
    Syntax Warning in cmake code at

    /home/yann/TV/gr-dvbt/cmake/Modules/GrPython.cmake:196:44

    Argument not separated from preceding token by whitespace.
    Call Stack (most recent call first):
    swig/CMakeLists.txt:28 (include)
    This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/Modules/GrSwig.cmake:25 (include):
Syntax Warning in cmake code at

/home/yann/TV/gr-dvbt/cmake/Modules/GrPython.cmake:196:92

Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
swig/CMakeLists.txt:28 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/Modules/GrSwig.cmake:25 (include):
Syntax Warning in cmake code at

/home/yann/TV/gr-dvbt/cmake/Modules/GrPython.cmake:196:100

Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
swig/CMakeLists.txt:28 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Found PythonInterp: /usr/bin/python (found version "3.3.4")
File "", line 3
print sysconfig.get_python_lib(plat_specific=True, prefix='')
^
SyntaxError: invalid syntax
CMake Error at cmake/Modules/GrPython.cmake:103 (file):
file FILE([TO_CMAKE_PATH|TO_NATIVE_PATH] path result) must be called with
exactly three arguments.
Call Stack (most recent call first):
cmake/Modules/GrSwig.cmake:25 (include)
swig/CMakeLists.txt:28 (include)

CMake Warning (dev) at swig/CMakeLists.txt:29 (include):
Syntax Warning in cmake code at

/home/yann/TV/gr-dvbt/cmake/Modules/GrPython.cmake:196:44

Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at swig/CMakeLists.txt:29 (include):
Syntax Warning in cmake code at

/home/yann/TV/gr-dvbt/cmake/Modules/GrPython.cmake:196:92

Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at swig/CMakeLists.txt:29 (include):
Syntax Warning in cmake code at

/home/yann/TV/gr-dvbt/cmake/Modules/GrPython.cmake:196:100

Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.

-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of size_t
-- Check size of size_t - done
-- Check size of unsigned int
-- Check size of unsigned int - done
CMake Warning (dev) at cmake/Modules/GrSwig.cmake:200 (include):
Syntax Warning in cmake code at

/home/yann/TV/gr-dvbt/cmake/Modules/GrPython.cmake:196:44

Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
swig/CMakeLists.txt:47 (GR_SWIG_INSTALL)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/Modules/GrSwig.cmake:200 (include):
Syntax Warning in cmake code at

/home/yann/TV/gr-dvbt/cmake/Modules/GrPython.cmake:196:92

Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
swig/CMakeLists.txt:47 (GR_SWIG_INSTALL)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/Modules/GrSwig.cmake:200 (include):
Syntax Warning in cmake code at

/home/yann/TV/gr-dvbt/cmake/Modules/GrPython.cmake:196:100

Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
swig/CMakeLists.txt:47 (GR_SWIG_INSTALL)
This warning is for project developers. Use -Wno-dev to suppress it.

Traceback (most recent call last):
File "", line 2, in
TypeError: Unicode-objects must be encoded before hashing
CMake Warning (dev) at python/CMakeLists.txt:23 (include):
Syntax Warning in cmake code at

/home/yann/TV/gr-dvbt/cmake/Modules/GrPython.cmake:196:44

Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at python/CMakeLists.txt:23 (include):
Syntax Warning in cmake code at

/home/yann/TV/gr-dvbt/cmake/Modules/GrPython.cmake:196:92

Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at python/CMakeLists.txt:23 (include):
Syntax Warning in cmake code at

/home/yann/TV/gr-dvbt/cmake/Modules/GrPython.cmake:196:100

Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.

File "", line 3
print sysconfig.get_python_lib(plat_specific=True, prefix='')
^
SyntaxError: invalid syntax
CMake Error at cmake/Modules/GrPython.cmake:103 (file):
file FILE([TO_CMAKE_PATH|TO_NATIVE_PATH] path result) must be called with
exactly three arguments.
Call Stack (most recent call first):
python/CMakeLists.txt:23 (include)

Traceback (most recent call last):
File "", line 2, in
TypeError: Unicode-objects must be encoded before hashing
CMake Error at cmake/Modules/GrPython.cmake:115 (add_custom_target):
add_custom_target cannot create target "ALL" because another target with
the same name already exists. The existing target is a custom target
created in source directory "/home/yann/TV/gr-dvbt/swig". See
documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
cmake/Modules/GrPython.cmake:214 (GR_UNIQUE_TARGET)
python/CMakeLists.txt:31 (GR_PYTHON_INSTALL)

CMake Warning (dev) at apps/CMakeLists.txt:20 (include):
Syntax Warning in cmake code at

/home/yann/TV/gr-dvbt/cmake/Modules/GrPython.cmake:196:44

Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at apps/CMakeLists.txt:20 (include):
Syntax Warning in cmake code at

/home/yann/TV/gr-dvbt/cmake/Modules/GrPython.cmake:196:92

Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at apps/CMakeLists.txt:20 (include):
Syntax Warning in cmake code at

/home/yann/TV/gr-dvbt/cmake/Modules/GrPython.cmake:196:100

Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.

File "", line 3
print sysconfig.get_python_lib(plat_specific=True, prefix='')
^
SyntaxError: invalid syntax
CMake Error at cmake/Modules/GrPython.cmake:103 (file):
file FILE([TO_CMAKE_PATH|TO_NATIVE_PATH] path result) must be called with
exactly three arguments.
Call Stack (most recent call first):
apps/CMakeLists.txt:20 (include)

Traceback (most recent call last):
File "", line 2, in
TypeError: Unicode-objects must be encoded before hashing
CMake Error at cmake/Modules/GrPython.cmake:115 (add_custom_target):
add_custom_target cannot create target "ALL" because another target with
the same name already exists. The existing target is a custom target
created in source directory "/home/yann/TV/gr-dvbt/swig". See
documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
cmake/Modules/GrPython.cmake:214 (GR_UNIQUE_TARGET)
apps/CMakeLists.txt:22 (GR_PYTHON_INSTALL)

-- Found Doxygen: /usr/bin/doxygen (found version "1.8.6")
-- Configuring incomplete, errors occurred!
See also "/home/yann/TV/gr-dvbt/build/CMakeFiles/CMakeOutput.log".
[root@ernesto build]#

No module named dvbt

Hello,

I think the title say everything, when I try to run any program the following error occur:
"/top_block.py", line 33, in
import dvbt
ImportError: No module named dvbt
I tried to search for dvbt library on the internet and in pip manager but I didn't found it, can you provide a source?

dvbt_tx example error

hello,

I'm new to this tool and I just tried the dvbt_tx_8k example and got this error:

Using Volk machine: avx2_64_mmx_orc
python: /build/gnuradio-bJXzXK/gnuradio-3.7.9.1/gr-dtv/lib/dvbt/dvbt_inner_coder_impl.cc:164: gr::dtv::dvbt_inner_coder_impl::dvbt_inner_coder_impl(int, int, gr::dtv::dvb_constellation_t, gr::dtv::dvbt_hierarchy_t, gr::dtv::dvb_code_rate_t): assertion `d_ninput % 1' failed.

any ideas?.

How transpart to the ISDB-S

How transpart it to the ISDB-S, I wonder to know it. Are there difference in the signal modulation between ISDB-S and ISDB-T.

Compile issue in energy_dispersal_impl.cc

The line:

out[count++] = in[index + count] ^ clock_prbs(d_npacks);

in energy_dispersal_impl.cc compiles differently from gcc 4.7.3 to gcc 4.8.1 (at least on a 32-bit Ubuntu system). Apparently, the order of evaluation is undefined. The solution is very easy, just move the increment out of the assignment. That is, change:

for (int k = 1; k < d_psize; k++)
out[count++] = in[index + count] ^ clock_prbs(d_npacks);

to:

for (int k = 1; k < d_psize; k++)
{
out[count] = in[index + count] ^ clock_prbs(d_npacks);
count++;
}

Problems executing DVBT_TX_Demo flow graph

Hello:
Trying to execute the file I am getting the following error:
<<< Welcome to GNU Radio Companion 3.7.9.2 >>>

Preferences file: C:\Users\user\AppData\Roaming\SPB_Data/.gnuradio/grc.conf
Block paths:
C:\Users\user\AppData\Roaming\SPB_Data.grc_gnuradio (C:\Users\user\AppData\Roaming\SPB_Data/.grc_gnuradio)
C:\Program Files\GNURadio-3.7\share\gnuradio\grc\blocks (C:\Program Files\GNURadio-3.7\bin..\share\gnuradio\grc\blocks)

Loading: "C:\GNURADIO\dvbt_tx_demo.grc"

Done

Showing: "C:\GNURADIO\dvbt_tx_demo.grc"

Generating: 'C:\GNURADIO\top_block.py'

Warning: This flow graph may not have flow control: no audio or RF hardware blocks found. Add a Misc->Throttle block to your flow graph to avoid CPU congestion.

Executing: C:\Program Files\GNURadio-3.7\gr-python27\python.exe -u C:\GNURADIO\top_block.py

Using Volk machine: avx2
ffC:\GNURADIO est.ts: Invalid argument
Traceback (most recent call last):
File "C:\GNURADIO\top_block.py", line 139, in
main()
File "C:\GNURADIO\top_block.py", line 134, in main
tb = top_block_cls()
File "C:\GNURADIO\top_block.py", line 100, in init
self.blocks_file_source_0 = blocks.file_source(gr.sizeof_char*1, "C:\GNURADIO\test.ts", False)
File "C:\Program Files\GNURadio-3.7\lib\site-packages\gnuradio\blocks\blocks_swig0.py", line 1083, in make
return _blocks_swig0.file_source_make(itemsize, filename, repeat)
RuntimeError: can't open file
dvbt_tx_demo.zip

Linking CXX executable test-dvbt

Linking CXX executable test-dvbt
/usr/bin/ld: CMakeFiles/test-dvbt.dir/qa_viterbi_decoder.cc.o: undefined reference to symbol '_ZN7log4cpp8Appender29AppenderMapStorageInitializerC1Ev'
//usr/local/lib/liblog4cpp.so.5: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
lib/CMakeFiles/test-dvbt.dir/build.make:624: recipe for target 'lib/test-dvbt' failed
make[2]: *** [lib/test-dvbt] Error 1
CMakeFiles/Makefile2:158: recipe for target 'lib/CMakeFiles/test-dvbt.dir/all' failed
make[1]: *** [lib/CMakeFiles/test-dvbt.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2


this is my system information:
root@debian:/home/gustavo/learngit/gr-dvbt# uname -a
Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1 (2016-12-30) x86_64 GNU/

and i have installed the liblog4cpp5 when i install gnuradio.

ImportError: No module named dvbt_swig

Hello,
I can't deal with this issue:( don't understand python "swig", I tested swig and swig3.0 from debian repo with same issue.

linux; GNU C++ version 4.9.1; Boost_105500; UHD_003.007.003-0-unknown

Traceback (most recent call last):
  File "/root/gr-dvbt/apps/top_block.py", line 23, in <module>
    import dvbt
  File "/usr/lib/python2.7/dist-packages/dvbt/__init__.py", line 45, in <module>
    from dvbt_swig import *
ImportError: No module named dvbt_swig

>>> Done
# Temporary workaround for ticket:181 (swig+python problem)
import sys
_RTLD_GLOBAL = 0
try:
    from dl import RTLD_GLOBAL as _RTLD_GLOBAL
except ImportError:
    try:
        from DLFCN import RTLD_GLOBAL as _RTLD_GLOBAL
    except ImportError:
        pass

if _RTLD_GLOBAL != 0:
    _dlopenflags = sys.getdlopenflags()
    sys.setdlopenflags(_dlopenflags|_RTLD_GLOBAL)
# ----------------------------------------------------------------


# import swig generated symbols into the dvbt namespace
from dvbt_swig import *

By not providing "FindGnuradio.cmake

hi,when i installed gnuradio 3.7.8 on ubuntu, i want to build it returns:
which gnuradio i should install or how can fix this errors.........
thanks

-- Build type not specified: defaulting to release.
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- filesystem
-- system
CMake Error at CMakeLists.txt:88 (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.1) 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!

See also "/home/sp/Documents/gr-dvbt/build/CMakeFiles/CMakeOutput.log".

when i used gnuradio grc dvbt-tx block with hackrf i can not see with rx?

hi, your project is great. i used your project for Transmitter DVB-T when i used hackrf for sending it,i can not receive video with format .ts with receiver.
i used your grc dbvt-rx and vlc media player, but i can not get any media video.
onside is hackrf and other side is rtl-sdr.
for transmitting should they sync? please help
best regards stackprogramer

chooser with dvbt modulation

Hi
I make a receiver with RTLSDR and I would like to have the choice between QPSK, 16APSK and 64APSK with a chooser block for example and the same thing for the FEC but in the demod ref blocks. signal, DVBT demap etc .. the menus are drop-down and cannot be controlled by a chooser, we cannot put a value in these blocks, is there a trick to choose the constelation online.
thank you in advance
f4fdw Laurent

demod_reference_signals BLOCK (no output)

Hi,

I’m trying to get a signal live from an antenna on the roof through a cable connected to my SDR (hackrf one ) in ireland. The signal is 8 mhz width . So currently I’m more interesting in the receiver implantation side, i’m using dvbt_rx_demo_8k_QAM64_rate78.grc flow graph. The problem i have is that no output data coming out after the demod_reference_signals BLOCK(no cancellation map).

I have read a lot about DVB , mapping ,ofdm and others, i have spent weeks on this.

So please i need a some help with this problem . My question is why there is no output coming from the demod_reference_signals BLOCK and what is the best approach to come over this problem. any help or hints will be very helpful for me. Thanks in advance

Ihab

dvbt_tx_demo.grc crashed with kernel error message

Hi,

I open the dvbt_tx_demo.grc-File and execute the projekt and the gnuradio-companion create only this Message:

Showing: "/home/marco/gr-dvbt/apps/dvbt_tx_demo.grc"

Generating: "/home/marco/gr-dvbt/apps/top_block.py"
>>> Warning: This flow graph may not have flow control: no audio or usrp blocks found. Add a Misc->Throttle block to your flow graph to avoid CPU congestion.

Executing: "/home/marco/gr-dvbt/apps/top_block.py"

Using Volk machine: sse4_2_64_orc

>>> Done

and the Linux Kernel create this error message:

"traps: python[22050] trap invalid opcode ip:7f0da6fcf030 sp:7fffb4d95a98 error:0 in libgnuradio-dvbt.so[7f0da6fad000+5a000]"

I use this software version:
gr-dvbt 82f5474
gnuradio 3.7.2.1 ( 5b0467e80d9980bb8b004aec5cb52027e1123e42 )
Ubuntu 12.04 LTS with 64-bit kernel 3.8.0-29-generic #42~precise1-Ubuntu
Python 2.7.3 (default, Sep 26 2013, 20:03:06)

Can you help me or do you have a idea for a solution to this problem.

greetings
Marco

receiver does not receive all the frames

Hi,

first of all great work!

Here is my problem:
I take a short video and send it and receive it. However in the receiver side I do not receive anything.
I looked into the code to find out the problem and find out that the reason can be related to 'demod_reference_signals' block.
Here data enters and no date comes out due to the few number of the frames. I attach the video also, you test it.

In general when I send the video and receive it I get a shorter version of the video. It cuts the video from the beginning.

See the file attached. I changed the extension to .jpg to upload here. You can make it .ts.

test

Reception problems

Hi there,

After multiple problems, I finally got everything up and running on a usrp N210.
First of all I'm trying to get the RX working.
Here in france, dvb-t is using the following parameters (on the frequency I'd like to test):
Inversion: OFF
Bandwidth: 8 MHz
Stream code rate (hi prio): FEC 3/4
Stream code rate (lo prio): FEC 1/2
Modulation: QAM 64
Transmission mode: 8k mode
Guard interval: 1/8
Hierarchy: none

I obtained this information by tuning in on my frequency using a dvb-t stick + VLC, and then asking dvbsnoop for the current info.

I used the dvbt_rx_demo_8k_QAM64_rate78.grc file, and changed the following:

  • frequency of the usrp source
  • Cyclic Prefix to 1024 (1/8 * 8192, is this right?)
  • Code Rate HP : 3/4
  • Code Rate LP : 1/2
  • Guard Interval : 1/8

I can't seem to figure out what my code rate should be, I can't imagine it is 7/8 ...

When I run this, gnuradio keeps giving me data like this:

d_freq_offset: -4
d_freq_offset: -7
d_freq_offset: -4
d_freq_offset: -1
d_freq_offset: -4
d_freq_offset: 5

Problem is:

My output.ts remains empty
But also the scope sink remains empty. I guess this means the problem is situated in the demod_reference_signals block, which make me think the problem is related to the code rate...

Anybody to help me out on this one?

chears

ld: symbol(s) not found for architecture x86_64

The make command create follow Messages:

$ make
Scanning dependencies of target gnuradio-dvbt
[  1%] Building CXX object lib/CMakeFiles/gnuradio-dvbt.dir/test_impl.cc.o
[  3%] Building CXX object lib/CMakeFiles/gnuradio-dvbt.dir/vector_pad_impl.cc.o
[  5%] Building CXX object lib/CMakeFiles/gnuradio-dvbt.dir/reference_signals_impl.cc.o
/Users/marcoschwan/gr-dvbt/lib/reference_signals_impl.cc:1173:25: warning: equality comparison result unused [-Wunused-comparison]
          d_frame_index == 0;
          ~~~~~~~~~~~~~~^~~~
/Users/marcoschwan/gr-dvbt/lib/reference_signals_impl.cc:1173:25: note: use '=' to turn this equality comparison into an assignment
          d_frame_index == 0;
                        ^~
                        =
1 warning generated.
[  7%] Building CXX object lib/CMakeFiles/gnuradio-dvbt.dir/dvbt_config.cc.o
/Users/marcoschwan/gr-dvbt/lib/dvbt_config.cc:61:7: warning: expression result unused [-Wunused-value]
      d_hierarchy;
      ^~~~~~~~~~~
/Users/marcoschwan/gr-dvbt/lib/dvbt_config.cc:62:5: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
2 warnings generated.
[  8%] Building CXX object lib/CMakeFiles/gnuradio-dvbt.dir/dvbt_map_impl.cc.o
[ 10%] Building CXX object lib/CMakeFiles/gnuradio-dvbt.dir/bit_inner_interleaver_impl.cc.o
[ 12%] Building CXX object lib/CMakeFiles/gnuradio-dvbt.dir/symbol_inner_interleaver_impl.cc.o
[ 14%] Building CXX object lib/CMakeFiles/gnuradio-dvbt.dir/inner_coder_impl.cc.o
[ 16%] Building CXX object lib/CMakeFiles/gnuradio-dvbt.dir/reed_solomon_enc_impl.cc.o
[ 17%] Building CXX object lib/CMakeFiles/gnuradio-dvbt.dir/energy_dispersal_impl.cc.o
/Users/marcoschwan/gr-dvbt/lib/energy_dispersal_impl.cc:130:26: warning: unsequenced modification and access to 'count' [-Wunsequenced]
                out[count++] = in[index + count] ^ clock_prbs(d_npacks);
                         ^                ~~~~~
1 warning generated.
[ 19%] Building CXX object lib/CMakeFiles/gnuradio-dvbt.dir/convolutional_interleaver_impl.cc.o
[ 21%] Building CXX object lib/CMakeFiles/gnuradio-dvbt.dir/test2_impl.cc.o
[ 23%] Building CXX object lib/CMakeFiles/gnuradio-dvbt.dir/demod_reference_signals_impl.cc.o
[ 25%] Building CXX object lib/CMakeFiles/gnuradio-dvbt.dir/dvbt_demap_impl.cc.o
[ 26%] Building CXX object lib/CMakeFiles/gnuradio-dvbt.dir/bit_inner_deinterleaver_impl.cc.o
[ 28%] Building CXX object lib/CMakeFiles/gnuradio-dvbt.dir/convolutional_deinterleaver_impl.cc.o
[ 30%] Building CXX object lib/CMakeFiles/gnuradio-dvbt.dir/energy_descramble_impl.cc.o
/Users/marcoschwan/gr-dvbt/lib/energy_descramble_impl.cc:165:24: warning: unsequenced modification and access to 'count' [-Wunsequenced]
              out[count++] = in[d_index + count] ^ clock_prbs(d_nblocks);
                       ^                  ~~~~~
1 warning generated.
[ 32%] Building CXX object lib/CMakeFiles/gnuradio-dvbt.dir/reed_solomon.cc.o
[ 33%] Building CXX object lib/CMakeFiles/gnuradio-dvbt.dir/reed_solomon_dec_impl.cc.o
[ 35%] Building CXX object lib/CMakeFiles/gnuradio-dvbt.dir/ofdm_sym_acquisition_impl.cc.o
/Users/marcoschwan/gr-dvbt/lib/ofdm_sym_acquisition_impl.cc:267:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (peak_length = peak_detect_process(&d_lambda[0], (lookup_start - lookup_stop), &peak_pos[0], &peak_max))
          ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/marcoschwan/gr-dvbt/lib/ofdm_sym_acquisition_impl.cc:267:23: note: place parentheses around the assignment to silence this warning
      if (peak_length = peak_detect_process(&d_lambda[0], (lookup_start - lookup_stop), &peak_pos[0], &peak_max))
                      ^
          (                                                                                                     )
/Users/marcoschwan/gr-dvbt/lib/ofdm_sym_acquisition_impl.cc:267:23: note: use '==' to turn this assignment into an equality comparison
      if (peak_length = peak_detect_process(&d_lambda[0], (lookup_start - lookup_stop), &peak_pos[0], &peak_max))
                      ^
                      ==
/Users/marcoschwan/gr-dvbt/lib/ofdm_sym_acquisition_impl.cc:356:5: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
2 warnings generated.
[ 37%] Building CXX object lib/CMakeFiles/gnuradio-dvbt.dir/viterbi_decoder_impl.cc.o
[ 39%] Building C object lib/CMakeFiles/gnuradio-dvbt.dir/d_viterbi.c.o
[ 41%] Building C object lib/CMakeFiles/gnuradio-dvbt.dir/d_metrics.c.o
[ 42%] Building C object lib/CMakeFiles/gnuradio-dvbt.dir/d_tab.c.o
Linking CXX shared library libgnuradio-dvbt.dylib
Undefined symbols for architecture x86_64:
  "_volk_32f_s32f_multiply_32f_u", referenced from:
      gr::dvbt::ofdm_sym_acquisition_impl::ml_sync(std::__1::complex const*, int, int, int*, std::__1::complex*, int*, int*) in ofdm_sym_acquisition_impl.cc.o
  "_volk_32f_x2_subtract_32f_u", referenced from:
      gr::dvbt::ofdm_sym_acquisition_impl::ml_sync(std::__1::complex const*, int, int, int*, std::__1::complex*, int*, int*) in ofdm_sym_acquisition_impl.cc.o
  "_volk_32fc_magnitude_32f_u", referenced from:
      gr::dvbt::ofdm_sym_acquisition_impl::ml_sync(std::__1::complex const*, int, int, int*, std::__1::complex*, int*, int*) in ofdm_sym_acquisition_impl.cc.o
  "_volk_32fc_magnitude_squared_32f_u", referenced from:
      gr::dvbt::ofdm_sym_acquisition_impl::ml_sync(std::__1::complex const*, int, int, int*, std::__1::complex*, int*, int*) in ofdm_sym_acquisition_impl.cc.o
  "_volk_32fc_x2_multiply_32fc_u", referenced from:
      gr::dvbt::ofdm_sym_acquisition_impl::general_work(int, std::__1::vector >&, std::__1::vector >&, std::__1::vector >&) in ofdm_sym_acquisition_impl.cc.o
  "_volk_32fc_x2_multiply_conjugate_32fc_u", referenced from:
      gr::dvbt::ofdm_sym_acquisition_impl::ml_sync(std::__1::complex const*, int, int, int*, std::__1::complex*, int*, int*) in ofdm_sym_acquisition_impl.cc.o
  "_volk_32fc_x2_square_dist_32f_a", referenced from:
      gr::dvbt::dvbt_demap_impl::find_constellation_value(std::__1::complex) in dvbt_demap_impl.cc.o
  "_volk_32fc_x2_square_dist_32f_u", referenced from:
      gr::dvbt::dvbt_demap_impl::find_constellation_value(std::__1::complex) in dvbt_demap_impl.cc.o
  "_volk_get_alignment", referenced from:
      gr::dvbt::dvbt_demap_impl::dvbt_demap_impl(int, gr::dvbt::dvbt_constellation_t, gr::dvbt::dvbt_hierarchy_t, gr::dvbt::dvbt_transmission_mode_t, float) in dvbt_demap_impl.cc.o
      gr::dvbt::dvbt_demap_impl::dvbt_demap_impl(int, gr::dvbt::dvbt_constellation_t, gr::dvbt::dvbt_hierarchy_t, gr::dvbt::dvbt_transmission_mode_t, float) in dvbt_demap_impl.cc.o
      gr::dvbt::ofdm_sym_acquisition_impl::ofdm_sym_acquisition_impl(int, int, int, int, float) in ofdm_sym_acquisition_impl.cc.o
      gr::dvbt::ofdm_sym_acquisition_impl::ofdm_sym_acquisition_impl(int, int, int, int, float) in ofdm_sym_acquisition_impl.cc.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libgnuradio-dvbt.dylib] Error 1
make[1]: *** [lib/CMakeFiles/gnuradio-dvbt.dir/all] Error 2
make: *** [all] Error 2

I compiled this project at a Mac OS X 10.9.0 and xcode 5.0.2.
The gnuradio is the version 3.7.2.1_1 and installed with macport.

Can you help me or do you have a idea for a solution to this problem.

greetings
Marco

Transmission and reception using two USRP N200 devices

Hi,

I want to test this on two devices as a transceiver.
As far as I know you did not test it with two USRP devices. I created USRP sink and source that can transmit and receive.
Here is the problem: not reception at all. Here are the things that I think I am not doing correctly:

  • in sink and source USRPs the sampling rate is wrong
  • Bandwidth is wrong

Can you please help me to find out what the sampling rate is that you use (channel bandwidth too)?

NE

dvbt_rx_demo.grc always crashes with GPF.

The dvbt_rx_demo.grc flowgraph always crashes immediately with a GPF. From dmesg -T:

[Sat Jan 18 16:07:43 2014] traps: python2[12682] general protection ip:b64b33af sp:a483fda0 error:0 in libvolk.so.0.0.0[b6410000+d5000]

This occurs with the Gaussian noise source enabled and a baseband file created from dvbt_tx_demo.grc. Also, it seems like the value of 0.0022097087 in the Multiply Const block is incorrect. Should it be 1/0.0022097087 instead?

Realtime streaming issues using gr-dvt

Hi,

I am using DVT module for realtime streaming of mpeg ts file.
MPGEG -> DVT -> USRP <----> USRP -> DVT -> UDP Sink -> VLC

I am having following issues wrt performance:

  1. Audio is not not synced with respect to video frame causing stutter or video getting stuck on VLC.
  2. At times video gets stuck and unable to recover on VLC.

Here is what I have tried so far:

  1. Stripping down video to 240x144 at 10 fps or less to cut down on bandwidth requirements
  2. Varying audio bit-rates from 32 to 384 Kbps.
  3. Trying out different combination of sample rates and tx/rx frequency.
  4. Varying code rate and guard interval
  5. Trying out different combination of modulation techniques (QAM/QPSK).

I am attaching tx and rx grc files for reference.
Please let me know if something is missing from the flowgraph to achieve decent real-time streaming from one USRP to another.

Thanks
screen shot 2018-02-20 at 10 59 58 am
screen shot 2018-02-20 at 11 01 13 am

-Kailash

Not compatible with ARM? -msse2 tag not recognized

After downloading and creating the build directory and running "cmake ../", i was unable to compile using the "make" tool. It stopped at 2% with this error:
c++: error: unrecognized command line option ‘-msse2’

I used grep and sed to remove all instances of "-msse2" from the build directory like this:
grep -rl "msse2" /home/pi/gr-dvbt/build | xargs sed -i s^-msse2^^g

This time it got as far as 42% before crashing with this error:
fatal error: xmmintrin.h: No such file or directory #include <xmmintrin.h> ^
I am at a loss here

Can't start acquisition

Hey, thanks for sharing your work. I started with generating the demofiles (test -> testBB, testBB -> testout) and everything worked fine. But now i want to watch real DVB-T. There's just one problem, the ofdm_sym_acquisition restarts all the time (combined with "O"verruns). I use a DVB-T dongle with the RTL-SDR Source, not the UHD-Source. My Samplingrate is 2.5Ms/s, so i did some interpolation to get to 64/7Ms/s. Is the interpolation the problem why the acquisition restarts all the time? (2-3 times per second) My values for sym-acquisiton: FFT = 8k, Occupied Tones=6817, CP=2k (guard intervall is 1/4) and snr = 40. And another question, why do you multiply with 552.4µ?
Thanks in advance.

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.