Agrim9 / FHSS_GNUradio

Building a block to implement FHSS in GNUradio
36 stars 19 forks source link

creating Custom-GNURadio-Python-Blocks #2

Open PHDsaoudi opened 1 year ago

PHDsaoudi commented 1 year ago

Sear Sir, I created a block in Python using these instructions: (module is Energy and block is Energy_ff) gr_modtool newmod Energy cd gr-Energy ls cd gr-Energy gr_modtool add -t sync -l python Taking accout that i open Enery_ff.py and i change my code and i save it after that i build and install project cmake ../ make sudo make install sudo ldconfig Generating and installing are done successfully: -- Installing: /usr/local/share/gnuradio/grc/blocks/Energy_detection.block.yml

Finally i run gnu radio, this bloc is not able to be created and the windows show this error:

column 16 <<< Welcome to GNU Radio Companion 3.10.8.0-rc2 >>>

Block paths: /usr/local/share/gnuradio/grc/blocks

Loading: "/home/crm/x310_rx_v3.grc"

Check: /usr/local/share/gnuradio/grc/blocks/Energy_detection.block.yml FlowGraph Error: mapping values are not allowed here in "/usr/local/share/gnuradio/grc/blocks/Energy_detection.block.yml", line 17, column 16 Done

Loading: "/home/crm/x310_rx_v1.grc"

Check: /usr/local/share/gnuradio/grc/blocks/Energy_detection.block.yml FlowGraph Error: mapping values are not allowed here in "/usr/local/share/gnuradio/grc/blocks/Energy_detection.block.yml", line 17, column 16 Done

Loading: "/home/crm/x310_rx_v2.grc"

Check: /usr/local/share/gnuradio/grc/blocks/Energy_detection.block.yml FlowGraph Error: mapping values are not allowed here in "/usr/local/share/gnuradio/grc/blocks/Energy_detection.block.yml", line 17, column 16 Done

How can i solve this problem please