Projects/CubeSatCom/gnuRadio
From UIT
(Difference between revisions)
(→Python blocks) |
(→Python blocks) |
||
(2 intermediate revisions by one user not shown) | |||
Line 4: | Line 4: | ||
It is used for software radio. | It is used for software radio. | ||
[https://wiki.gnuradio.org/index.php/GNURadioCompanion GNU Radio Companion] (GRC) is a graphical tool for creating signal flow graphs and generating flow-graph source code. | [https://wiki.gnuradio.org/index.php/GNURadioCompanion GNU Radio Companion] (GRC) is a graphical tool for creating signal flow graphs and generating flow-graph source code. | ||
+ | |||
+ | = Setup = | ||
+ | |||
+ | If <code>gnuradio-companion</code> had been run as root, remove the following file in order to run it as a normal user: | ||
+ | sudo rm .gr_fftw_widsom* | ||
+ | |||
+ | In order to run <code>make install</code> without sudo, change the following access rights: | ||
+ | RIGHTS=gs_hevs:gs_hevs | ||
+ | sudo chown -R $RIGHTS /usr/local/lib/cmake/cpqpsk | ||
+ | sudo chown -R $RIGHTS /usr/local/include/cpqpsk | ||
+ | sudo chown -R $RIGHTS /usr/local/lib/python2.7/dist-packages/cpqpsk | ||
+ | sudo chown -R $RIGHTS /usr/local/share/gnuradio/grc/blocks | ||
+ | sudo chown -R $RIGHTS /usr/local/share/doc/gr-cpqpsk | ||
+ | sudo chown -R $RIGHTS /home/gs_hevs | ||
= Python blocks = | = Python blocks = | ||
− | On the virtual machine, the python blocks are found in <code></code>. | + | On the virtual machine, the python blocks are found in <code>/home/gs_hevs/gr-cpqpsk/python</code>. |
+ | |||
+ | The scripts are compiled with | ||
+ | cmake .. | ||
+ | make | ||
+ | make install | ||
+ | sudo ldconfig | ||
[[Category:Projects]] [[Category:CubeSatCom]] | [[Category:Projects]] [[Category:CubeSatCom]] |
Latest revision as of 08:06, 4 March 2019
|
GNU Radio is a development toolkit that provides signal processing blocks to simulate and implement systems. It is used for software radio. GNU Radio Companion (GRC) is a graphical tool for creating signal flow graphs and generating flow-graph source code.
Setup
If gnuradio-companion
had been run as root, remove the following file in order to run it as a normal user:
sudo rm .gr_fftw_widsom*
In order to run make install
without sudo, change the following access rights:
RIGHTS=gs_hevs:gs_hevs sudo chown -R $RIGHTS /usr/local/lib/cmake/cpqpsk sudo chown -R $RIGHTS /usr/local/include/cpqpsk sudo chown -R $RIGHTS /usr/local/lib/python2.7/dist-packages/cpqpsk sudo chown -R $RIGHTS /usr/local/share/gnuradio/grc/blocks sudo chown -R $RIGHTS /usr/local/share/doc/gr-cpqpsk sudo chown -R $RIGHTS /home/gs_hevs
Python blocks
On the virtual machine, the python blocks are found in /home/gs_hevs/gr-cpqpsk/python
.
The scripts are compiled with
cmake .. make make install sudo ldconfig