GRC软件使用
- Throttle模块的作用
当流图没有硬件连接时,Throttle主要起到限速的作用,避免cup占用率过高
当流图有硬件连接时,硬件可起到限速左右,不需要Throttle模块
具体原因:Sample Rate Tutorial - 采样率(samp_rate)
信号的采样速率,通常流程图中设置的采样率需要与硬件的(采样)速率匹配,否则信号失真
!!! 注意区别采样率(sampling rate) 和 频率(frequency)
模块编写
-
如何理解history??
-
gr_modtools如何做到在安装自定义模块之前进行测试的?
We use make test to run our tests (run this from the build/ subdirectory, after calling cmake and make). This invokes a shell script which sets up the PYTHONPATH environment variable so that our tests use the build tree versions of our code and libraries. It then runs all files which have names of the form qa_*.py and reports the overall success or failure.There is quite a bit of behind-the-scenes action required to use the non-installed versions of our code (look at the cmake/Modules directory for a cheap thrill.)
-
gr_modtools 如何做到使用python调用C++写的模块代码的?
You probably know already that GNU Radio blocks are available in Python even if they were written in C++. This is done by the help of SWIG, the simplified wrapper and interface generator, which automatically creates glue code to make this possible. SWIG needs some instructions on how to do this, which are put into the swig/ subdirectory
C++积累
Linux相关
- Cmake使用
通常是:
$ mkdir build # We’re currently in the module’s top directory
$ cd build/
$ cmake …/ # Tell CMake that all its config files are one dir up
$ make # And start building (should work after the previous section)
$make install - make install的安装路径
The path to the install tree is prefix/lib/pythonversion/dist-packages, where prefix is whatever you specified to CMake during configuration (usually /usr/local/) with the -DCMAKE_INSTALL_PREFIX switch
杂七杂八
- FM:调频
- TX/RX:发送/接收
- FSK:频移键控