Difference between revisions of "Hacking the GNURadio Module 'gr-satnogs'"
From SatNOGS Wiki
m (Fixed typo) (Tag: Visual edit) |
(categories) |
||
Line 47: | Line 47: | ||
[[User:DL4PD|DL4PD]] ([[User talk:DL4PD|talk]]) | [[User:DL4PD|DL4PD]] ([[User talk:DL4PD|talk]]) | ||
− | [[Category: | + | |
+ | [[Category:Develop]] | ||
+ | [[Category:Software]] |
Latest revision as of 21:37, 19 January 2020
A few steps on starting with hacking on 'gr-satnogs' on a SatNOGS node:
Ensure you have these packages installed:
- python-dev - swig
$ sudo apt install swig python-dev
Remove the package that has been installed by ansible (if you're using ansible):
$ dpkg -r gr-satnogs
Get the repo from git:
$ git clone git@gitlab.com:librespacefoundation/satnogs/gr-satnogs.git
Follow the instructions in 'README.md', in short:
$ mkdir build $ cd build $ cmake ../ $ make [-j4] # -j4 to speedup things ;-) $ sudo make install $ sudo ldconfig
See if everything worked:
$ python -c "import satnogs"
If no output appears your custom 'gr-satnogs' module has been built and can be used by satnogs-client. If it failed, a message like:
Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named satnogs
will appear. On the next observation check
$ journalctl -u satnogs-client.service
for errors!
Happy hacking!