Skip to content

Instantly share code, notes, and snippets.

@takurx
Last active February 5, 2020 11:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takurx/636d2ff5f3baf87d4e6dccef2ff8fb01 to your computer and use it in GitHub Desktop.
Save takurx/636d2ff5f3baf87d4e6dccef2ff8fb01 to your computer and use it in GitHub Desktop.
log_install_gr-satellites_on_gnu_radio_3.7.13.5
  • It installed GNU Radio 3.7.13.5. (I had installed at "~/stable-2" by pybombs.)
  • I followed gr-satellites's README almost.

gr-satellites required dependencies

sudo apt install swig
pip install construct
pip install requests
git clone https://github.com/quiet/libfec
cd libfec
./configure
make
sudo make install
sudo ldconfig
sudo apt install feh

gr-satellites

git clone https://github.com/daniestevez/gr-satellites.git
git checkout -b maint-3.7 origin/maint-3.7
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=~/stable-2 ../
make -j $(nproc)
sudo make install
sudo ld config
cd ../..

gr-satellites's hierarchical block

On gr-satellites root folder

./compile-hierarchical.sh
@takurx
Copy link
Author

takurx commented Feb 5, 2020

I forgot required dependencies.

"generic_1k2_afsk_ax25.grc" is OK.
But "jy1sat.grc" is bad so that some block is missing.

  • rms_agc block
  • satellites_ao40_fec_decoder_soft block

Maybe it is not enough Required dependencies.
I will install Required dependencies.

Required dependencies:

  • Phil Karn's KA9Q libfec. A fork that builds in modern linux systems can be found here.
  • construct, at least version 2.9.
  • requests.
  • swig

https://github.com/daniestevez/gr-satellites

@takurx
Copy link
Author

takurx commented Feb 5, 2020

I installed required dependencies and re-installed gr-satellites.
But "jy1sat.grc" is bad so that some block is missing.

  • rms_agc block
  • satellites_ao40_fec_decoder_soft block

@takurx
Copy link
Author

takurx commented Feb 5, 2020

Dependencies の項に書かれている、libfec, construct, requests, feh
を全てインストールした

http://www.asahi-net.or.jp/~ei7m-wkt/90128ln3.htm

@takurx
Copy link
Author

takurx commented Feb 5, 2020

sudo apt install feh

@takurx
Copy link
Author

takurx commented Feb 5, 2020

Some block is still missing block.

Please try:
$ ./compile-hierarchical.sh
In the gr-satellites root folder.

https://community.libre.space/t/using-gr-satellites-to-decode-eshail-2-qo-100-bpsk-beacon/3416/3

YEAHHHH, I resolvedddddddd

@takurx
Copy link
Author

takurx commented Feb 5, 2020

One more thing,

rize@tedeza:~/stable-2/gr-satellites$ ./compile_hierarchical.sh 
NameError("name 'Embedded' is not defined",)
NameError("name 'Embedded' is not defined",)
NameError("name 'Embedded' is not defined",)
NameError("name 'Embedded' is not defined",)
......
rize@tedeza:~/stable-2/gr-satellitesl$ gnuradio-companion 
NameError("name 'Embedded' is not defined",)
NameError("name 'Embedded' is not defined",)
<<< Welcome to GNU Radio Companion 3.7.13.5 >>>

Block paths:
	/home/rize/.grc_gnuradio
	/home/rize/stable-2/share/gnuradio/grc/blocks

Loading: "/home/rize/stable-2/gr-satellites/apps/generic_1k2_afsk_ax25.grc"
>>> Done
NameError("name 'Embedded' is not defined",)
NameError("name 'Embedded' is not defined",)
NameError("name 'Embedded' is not defined",)
NameError("name 'Embedded' is not defined",)
NameError("name 'Embedded' is not defined",)
NameError("name 'Embedded' is not defined",)
......

@takurx
Copy link
Author

takurx commented Feb 5, 2020

daniestevez/gr-satellites#70

It fixed following same method on maint-3.7 branch.
It had already fixed master, maint-3.8, next branch.

NameError("name 'Embedded' is not defined",)

It fixed!! YATTAAAAAAAA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment