HyDRA source code
sudo apt install build-essential cmake libfftw3-dev uhd-host libuhd-dev gnuradio-dev libopencv-dev libzmqpp-dev swig
Clone the repository and enter in the created folder (default: gr-hydra). Execute the following commands:
mkdir build; cd build;
cmake ../
make
sudo make install
sudo ldconfig
First install the STANDARD VERSION. Go to gr-hydra/grc_blocks and execute the following commands:
mkdir build; cd build;
cmake ../
make
sudo make install
For all examples we:
We associate a terminal ID to a all terminals open in the form T_n, where n is the terminal number. Wherewer needed we are going to refer to a specific terminal by specifying its ID.
refer to USRP_n as a pair of PC+USRP, where n indentifies one of the pair. Ex: USRP_1 is what you consider your 1st PC+USRP, while USRP_2 is your second. Whenever we refer to USRP_1 you execute the instructions in that machine.
python grc_blocks/app/hydra_gr_server_example.py
python grc_blocks/app/hydra_gr_client_2tx_2rx_pdu_gen.py
python grc_blocks/app/usrp_vr1_pdu_gen.grc
LOG
LOG
LOG
LOG
LOG
LOG
LOG
LOG
python grc_blocks/app/usrp_vr2_pdu_gen.grc
LOG
LOG
LOG
LOG
LOG
LOG
LOG
LOG
Cmake cannot find FFTW ?
Put the file in https://github.com/jedbrown/cmake-modules/blob/master/FindFFTW.cmake in the folder /usr/share/cmake-2.8/Modules/