diff --git a/CMakeLists.txt b/CMakeLists.txt index 70ae09f..e1493ff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,7 +25,7 @@ add_definitions(-std=c++11) # Project setup ######################################################################## cmake_minimum_required(VERSION 2.6) -project(gr-crfa CXX C) +project(gr-multirds CXX C) enable_testing() #install to PyBOMBS target prefix if defined @@ -76,7 +76,7 @@ set(Boost_ADDITIONAL_VERSIONS find_package(Boost "1.35" COMPONENTS filesystem system) if(NOT Boost_FOUND) - message(FATAL_ERROR "Boost required to compile crfa") + message(FATAL_ERROR "Boost required to compile multirds") endif() ######################################################################## @@ -85,7 +85,7 @@ endif() include(GrPlatform) #define LIB_SUFFIX set(GR_RUNTIME_DIR bin) set(GR_LIBRARY_DIR lib${LIB_SUFFIX}) -set(GR_INCLUDE_DIR include/crfa) +set(GR_INCLUDE_DIR include/multirds) set(GR_DATA_DIR share) set(GR_PKG_DATA_DIR ${GR_DATA_DIR}/${CMAKE_PROJECT_NAME}) set(GR_DOC_DIR ${GR_DATA_DIR}/doc) @@ -132,7 +132,7 @@ list(INSERT CMAKE_MODULE_PATH 0 ${CMAKE_SOURCE_DIR}/cmake/Modules) include(GrVersion) if(NOT CPPUNIT_FOUND) - message(FATAL_ERROR "CppUnit required to compile crfa") + message(FATAL_ERROR "CppUnit required to compile multirds") endif() ######################################################################## @@ -182,7 +182,7 @@ add_custom_target(uninstall ######################################################################## # Add subdirectories ######################################################################## -add_subdirectory(include/crfa) +add_subdirectory(include/multirds) add_subdirectory(lib) add_subdirectory(swig) add_subdirectory(python) @@ -197,6 +197,6 @@ if(NOT CMAKE_MODULES_DIR) set(CMAKE_MODULES_DIR lib${LIB_SUFFIX}/cmake) endif(NOT CMAKE_MODULES_DIR) -install(FILES cmake/Modules/crfaConfig.cmake - DESTINATION ${CMAKE_MODULES_DIR}/crfa +install(FILES cmake/Modules/multirdsConfig.cmake + DESTINATION ${CMAKE_MODULES_DIR}/multirds ) diff --git a/MANIFEST.md b/MANIFEST.md index b49ebe4..ac12f91 100644 --- a/MANIFEST.md +++ b/MANIFEST.md @@ -1,5 +1,5 @@ title: The CRFA OOT Module -brief: Short description of gr-crfa +brief: Short description of gr-multirds tags: # Tags are arbitrary, but look at CGRAN what other authors are using - sdr author: @@ -11,6 +11,6 @@ license: #website: # If you have a separate project website, put it here #icon: # Put a URL to a square image here that will be used as an icon on CGRAN --- -A longer, multi-line description of gr-crfa. +A longer, multi-line description of gr-multirds. You may use some *basic* Markdown here. If left empty, it will try to find a README file instead. diff --git a/apps/fft-multi-decoder_fixed_freqs.grc b/apps/fft-multi-decoder_fixed_freqs.grc index e2632db..04d9374 100644 --- a/apps/fft-multi-decoder_fixed_freqs.grc +++ b/apps/fft-multi-decoder_fixed_freqs.grc @@ -1597,7 +1597,7 @@ - crfa_decoder_compare + multirds_decoder_compare alias @@ -1624,7 +1624,7 @@ id - crfa_decoder_compare_0 + multirds_decoder_compare_0 nPorts @@ -1632,7 +1632,7 @@ - crfa_rds_parser_table_qt + multirds_rds_parser_table_qt alias @@ -1667,7 +1667,7 @@ id - crfa_rds_parser_table_qt_0_0 + multirds_rds_parser_table_qt_0_0 label @@ -6425,7 +6425,7 @@ class blk(gr.sync_block): # other base classes are basic_block, decim_block, in epy_block_0 - crfa_rds_parser_table_qt_0_0 + multirds_rds_parser_table_qt_0_0 out freq @@ -6491,13 +6491,13 @@ class blk(gr.sync_block): # other base classes are basic_block, decim_block, in hier_ifft_decoder_0 - crfa_decoder_compare_0 + multirds_decoder_compare_0 rds in0 hier_ifft_decoder_0 - crfa_rds_parser_table_qt_0_0 + multirds_rds_parser_table_qt_0_0 rds in0 @@ -6527,13 +6527,13 @@ class blk(gr.sync_block): # other base classes are basic_block, decim_block, in hier_ifft_decoder_0_0 - crfa_decoder_compare_0 + multirds_decoder_compare_0 rds in1 hier_ifft_decoder_0_0 - crfa_rds_parser_table_qt_0_0 + multirds_rds_parser_table_qt_0_0 rds in1 @@ -6563,13 +6563,13 @@ class blk(gr.sync_block): # other base classes are basic_block, decim_block, in hier_ifft_decoder_0_1 - crfa_decoder_compare_0 + multirds_decoder_compare_0 rds in2 hier_ifft_decoder_0_1 - crfa_rds_parser_table_qt_0_0 + multirds_rds_parser_table_qt_0_0 rds in2 diff --git a/apps/fft-multi-decoder_fixed_freqs_manlap.grc b/apps/fft-multi-decoder_fixed_freqs_manlap.grc index c4c4fcc..22249e2 100644 --- a/apps/fft-multi-decoder_fixed_freqs_manlap.grc +++ b/apps/fft-multi-decoder_fixed_freqs_manlap.grc @@ -1597,7 +1597,7 @@ - crfa_decoder_compare + multirds_decoder_compare alias @@ -1624,7 +1624,7 @@ id - crfa_decoder_compare_0 + multirds_decoder_compare_0 nPorts @@ -1632,7 +1632,7 @@ - crfa_rds_parser_table_qt + multirds_rds_parser_table_qt alias @@ -1667,7 +1667,7 @@ id - crfa_rds_parser_table_qt_0_0 + multirds_rds_parser_table_qt_0_0 label @@ -1703,7 +1703,7 @@ - crfa_tmc_parser + multirds_tmc_parser alias @@ -1738,7 +1738,7 @@ id - crfa_tmc_parser_0 + multirds_tmc_parser_0 label @@ -6479,14 +6479,14 @@ class blk(gr.sync_block): # other base classes are basic_block, decim_block, in 0 - crfa_rds_parser_table_qt_0_0 - crfa_tmc_parser_0 + multirds_rds_parser_table_qt_0_0 + multirds_tmc_parser_0 tmc_raw in epy_block_0 - crfa_rds_parser_table_qt_0_0 + multirds_rds_parser_table_qt_0_0 out freq @@ -6552,13 +6552,13 @@ class blk(gr.sync_block): # other base classes are basic_block, decim_block, in hier_ifft_decoder_0 - crfa_decoder_compare_0 + multirds_decoder_compare_0 rds in0 hier_ifft_decoder_0 - crfa_rds_parser_table_qt_0_0 + multirds_rds_parser_table_qt_0_0 rds in0 @@ -6588,13 +6588,13 @@ class blk(gr.sync_block): # other base classes are basic_block, decim_block, in hier_ifft_decoder_0_0 - crfa_decoder_compare_0 + multirds_decoder_compare_0 rds in1 hier_ifft_decoder_0_0 - crfa_rds_parser_table_qt_0_0 + multirds_rds_parser_table_qt_0_0 rds in1 @@ -6624,13 +6624,13 @@ class blk(gr.sync_block): # other base classes are basic_block, decim_block, in hier_ifft_decoder_0_1 - crfa_decoder_compare_0 + multirds_decoder_compare_0 rds in2 hier_ifft_decoder_0_1 - crfa_rds_parser_table_qt_0_0 + multirds_rds_parser_table_qt_0_0 rds in2 diff --git a/apps/ifft-RDS-decoder_hier-block.grc b/apps/ifft-RDS-decoder_hier-block.grc index 180f5fe..a4be528 100644 --- a/apps/ifft-RDS-decoder_hier-block.grc +++ b/apps/ifft-RDS-decoder_hier-block.grc @@ -1378,7 +1378,7 @@ - crfa_decoder_compare + multirds_decoder_compare alias @@ -1405,7 +1405,7 @@ id - crfa_decoder_compare_0 + multirds_decoder_compare_0 nPorts @@ -1413,7 +1413,7 @@ - crfa_diff_add_sync_decim + multirds_diff_add_sync_decim alias @@ -1440,7 +1440,7 @@ id - crfa_diff_add_sync_decim_0 + multirds_diff_add_sync_decim_0 log @@ -1464,7 +1464,7 @@ - crfa_rds_decoder + multirds_rds_decoder alias @@ -1495,7 +1495,7 @@ id - crfa_rds_decoder_3 + multirds_rds_decoder_3 log @@ -1511,7 +1511,7 @@ - crfa_rds_decoder + multirds_rds_decoder alias @@ -1542,7 +1542,7 @@ id - crfa_rds_decoder_3_1 + multirds_rds_decoder_3_1 log @@ -1558,7 +1558,7 @@ - crfa_rds_decoder + multirds_rds_decoder alias @@ -1589,7 +1589,7 @@ id - crfa_rds_decoder_3_1_0 + multirds_rds_decoder_3_1_0 log @@ -1605,7 +1605,7 @@ - crfa_sync_decim + multirds_sync_decim alias @@ -1632,7 +1632,7 @@ id - crfa_sync_decim_0 + multirds_sync_decim_0 log @@ -1656,7 +1656,7 @@ - crfa_vector_cutter + multirds_vector_cutter alias @@ -1683,7 +1683,7 @@ id - crfa_vector_cutter_0_0 + multirds_vector_cutter_0_0 maxoutbuf @@ -2891,13 +2891,13 @@ blocks_complex_to_real_0 - crfa_diff_add_sync_decim_0 + multirds_diff_add_sync_decim_0 0 0 blocks_complex_to_real_0 - crfa_sync_decim_0 + multirds_sync_decim_0 0 0 @@ -2993,7 +2993,7 @@ blocks_null_source_0 - crfa_rds_decoder_3 + multirds_rds_decoder_3 0 0 @@ -3004,49 +3004,49 @@ 0 - crfa_diff_add_sync_decim_0 + multirds_diff_add_sync_decim_0 digital_binary_slicer_fb_0 0 0 - crfa_rds_decoder_3 - crfa_decoder_compare_0 + multirds_rds_decoder_3 + multirds_decoder_compare_0 out in0 - crfa_rds_decoder_3 - crfa_sync_decim_0 + multirds_rds_decoder_3 + multirds_sync_decim_0 out ctrl - crfa_rds_decoder_3 + multirds_rds_decoder_3 pad_sink_0_0 out in - crfa_rds_decoder_3_1 - crfa_decoder_compare_0 + multirds_rds_decoder_3_1 + multirds_decoder_compare_0 out in1 - crfa_rds_decoder_3_1_0 - crfa_decoder_compare_0 + multirds_rds_decoder_3_1_0 + multirds_decoder_compare_0 out in2 - crfa_sync_decim_0 + multirds_sync_decim_0 digital_binary_slicer_fb_0 0 0 - crfa_vector_cutter_0_0 + multirds_vector_cutter_0_0 fft_vxx_1_1 0 0 @@ -3071,19 +3071,19 @@ digital_diff_decoder_bb_0 - crfa_rds_decoder_3 + multirds_rds_decoder_3 0 0 digital_diff_decoder_bb_0_1 - crfa_rds_decoder_3_1 + multirds_rds_decoder_3_1 0 0 digital_diff_decoder_bb_0_1_0 - crfa_rds_decoder_3_1_0 + multirds_rds_decoder_3_1_0 0 0 @@ -3131,7 +3131,7 @@ pad_source_0 - crfa_vector_cutter_0_0 + multirds_vector_cutter_0_0 0 0 diff --git a/cmake/Modules/crfaConfig.cmake b/cmake/Modules/crfaConfig.cmake index 095b449..2d982c1 100644 --- a/cmake/Modules/crfaConfig.cmake +++ b/cmake/Modules/crfaConfig.cmake @@ -1,9 +1,9 @@ INCLUDE(FindPkgConfig) -PKG_CHECK_MODULES(PC_CRFA crfa) +PKG_CHECK_MODULES(PC_CRFA multirds) FIND_PATH( CRFA_INCLUDE_DIRS - NAMES crfa/api.h + NAMES multirds/api.h HINTS $ENV{CRFA_DIR}/include ${PC_CRFA_INCLUDEDIR} PATHS ${CMAKE_INSTALL_PREFIX}/include @@ -13,7 +13,7 @@ FIND_PATH( FIND_LIBRARY( CRFA_LIBRARIES - NAMES gnuradio-crfa + NAMES gnuradio-multirds HINTS $ENV{CRFA_DIR}/lib ${PC_CRFA_LIBDIR} PATHS ${CMAKE_INSTALL_PREFIX}/lib diff --git a/docs/README.crfa b/docs/README.crfa index 9bf0247..4b0ee6d 100644 --- a/docs/README.crfa +++ b/docs/README.crfa @@ -1,11 +1,11 @@ -This is the crfa-write-a-block package meant as a guide to building -out-of-tree packages. To use the crfa blocks, the Python namespaces -is in 'crfa', which is imported as: +This is the multirds-write-a-block package meant as a guide to building +out-of-tree packages. To use the multirds blocks, the Python namespaces +is in 'multirds', which is imported as: - import crfa + import multirds See the Doxygen documentation for details about the blocks available in this package. A quick listing of the details can be found in Python after importing by using: - help(crfa) + help(multirds) diff --git a/grc/CMakeLists.txt b/grc/CMakeLists.txt index bb6cc3a..37344d2 100644 --- a/grc/CMakeLists.txt +++ b/grc/CMakeLists.txt @@ -17,20 +17,20 @@ # the Free Software Foundation, Inc., 51 Franklin Street, # Boston, MA 02110-1301, USA. install(FILES - crfa_multi_rds_printer.xml - crfa_qtguitest.xml - crfa_rds_table_qt.xml - crfa_rds_parser_table_qt.xml - crfa_rds_decoder.xml - crfa_max_freq.xml - crfa_smooth_vectors.xml - crfa_stream_selector.xml - crfa_vector_cutter.xml - crfa_decoder_compare.xml - crfa_diff_add_sync_decim.xml - crfa_sync_decim.xml - crfa_rds_decoder_redsea.xml - crfa_qtgui_range.xml - crfa_variable_setter.xml - crfa_tmc_parser.xml DESTINATION share/gnuradio/grc/blocks + multirds_multi_rds_printer.xml + multirds_qtguitest.xml + multirds_rds_table_qt.xml + multirds_rds_parser_table_qt.xml + multirds_rds_decoder.xml + multirds_max_freq.xml + multirds_smooth_vectors.xml + multirds_stream_selector.xml + multirds_vector_cutter.xml + multirds_decoder_compare.xml + multirds_diff_add_sync_decim.xml + multirds_sync_decim.xml + multirds_rds_decoder_redsea.xml + multirds_qtgui_range.xml + multirds_variable_setter.xml + multirds_tmc_parser.xml DESTINATION share/gnuradio/grc/blocks ) diff --git a/grc/crfa_decoder_compare.xml b/grc/crfa_decoder_compare.xml index bdf2eaf..0d89b31 100644 --- a/grc/crfa_decoder_compare.xml +++ b/grc/crfa_decoder_compare.xml @@ -1,10 +1,10 @@ decoder_compare - crfa_decoder_compare - [crfa] - import crfa - crfa.decoder_compare($nPorts) + multirds_decoder_compare + [multirds] + import multirds + multirds.decoder_compare($nPorts) @@ -14,7 +14,7 @@ #set $label = '"%s"'%$id #end if $(signals) = rds_parser_table_qt_Signals() -self.$(id) = crfa.rds_parser_table_qt($(signals),$nPorts,self.set_$(freq_tune),$freq_tune,$log, $debug,$workdir,$writeDB) +self.$(id) = multirds.rds_parser_table_qt($(signals),$nPorts,self.set_$(freq_tune),$freq_tune,$log, $debug,$workdir,$writeDB) $(win) = rds_parser_table_qt_Widget($signals, $label,self.$(id)) $(gui_hint()($win)) set_freq_tune($freq_tune); diff --git a/grc/crfa_rds_table_qt.xml b/grc/crfa_rds_table_qt.xml index bf157df..7cfc1d9 100644 --- a/grc/crfa_rds_table_qt.xml +++ b/grc/crfa_rds_table_qt.xml @@ -1,10 +1,10 @@ RDS Table (qt) - crfa_rds_table_qt - [crfa] - import crfa - from crfa.rds_table_qt import rds_table_qt, rds_table_qt_Widget,rds_table_qt_Signals + multirds_rds_table_qt + [multirds] + import multirds + from multirds.rds_table_qt import rds_table_qt, rds_table_qt_Widget,rds_table_qt_Signals self.$(id) = $(id) = $value #set $win = 'self._%s_win'%$id #set $signals = 'self._%s_signals'%$id @@ -12,7 +12,7 @@ #set $label = '"%s"'%$id #end if $(signals) = rds_table_qt_Signals() -self.$(id) = crfa.rds_table_qt($(signals),$nPorts) +self.$(id) = multirds.rds_table_qt($(signals),$nPorts) $(win) = rds_table_qt_Widget($signals, $label) $(gui_hint()($win)) diff --git a/grc/crfa_smooth_vectors.xml b/grc/crfa_smooth_vectors.xml index 2250d34..75ac34e 100644 --- a/grc/crfa_smooth_vectors.xml +++ b/grc/crfa_smooth_vectors.xml @@ -1,10 +1,10 @@ smooth_vectors - crfa_smooth_vectors - [crfa] - import crfa - crfa.smooth_vectors($vec_len, $decim, $moving_avg_len) + multirds_smooth_vectors + [multirds] + import multirds + multirds.smooth_vectors($vec_len, $decim, $moving_avg_len) maxheight diff --git a/grc/crfa_variable_setter.xml b/grc/crfa_variable_setter.xml index 008704a..0c0f548 100644 --- a/grc/crfa_variable_setter.xml +++ b/grc/crfa_variable_setter.xml @@ -1,14 +1,14 @@ variable_setter - crfa_variable_setter - [crfa] - import crfa + multirds_variable_setter + [multirds] + import multirds #set $block = 'self.%s'%$id #set $varsetter = 'self.set_%s'%$varname #set $guiupdater = 'self._%s_win.update_gui'%$varname - crfa.variable_setter("$varname",$varsetter,$guiupdater,$is_pair,$msgkey) - + multirds.variable_setter("$varname",$varsetter,$guiupdater,$is_pair,$msgkey) + varname varname diff --git a/grc/crfa_vector_cutter.xml b/grc/crfa_vector_cutter.xml index a433454..c4ad7d7 100644 --- a/grc/crfa_vector_cutter.xml +++ b/grc/crfa_vector_cutter.xml @@ -1,10 +1,10 @@ vector_cutter - crfa_vector_cutter - [crfa] - import crfa - crfa.vector_cutter($insize, $outsize, $cutpoint,$pad_out,$zero_len) + multirds_vector_cutter + [multirds] + import multirds + multirds.vector_cutter($insize, $outsize, $cutpoint,$pad_out,$zero_len)