The OpenSatelliteProject Satellite Helper Application! This is currently a LRIT/HRIT Demodulator / Decoder program based on libSatHelper and xritdemod.
It is currently WIP and in Alpha State. Use with care.
That's a standard go project. Make sure you have libSatHelper
and libairspy
installed and run:
go get github.com/OpenSatelliteProject/SatHelperApp/cmd/SatHelperApp
It will be installed into your ${GOPATH}/bin
. If you have it it on your path, just run SatHelperApp
Have fun!
Base tools:
sudo apt install build-essential cmake swig liblimesuite-dev libaec-dev librtlsdr-dev
Quick Instructions to get GO 1.10 running:
sudo add-apt-repository ppa:gophers/archive
sudo apt-get update
sudo apt-get install golang-1.10-go
mkdir ~/go
export GOPATH=~/go
export GOROOT=/usr/lib/go-1.10
export PATH=$PATH:$GOPATH/bin:$GOROOT/bin
Install LibSatHelper:
git clone https://github.com/opensatelliteproject/libsathelper/
cd libsathelper
make libcorrect
sudo make libcorrect-install
make
sudo make install
Install libAirspy:
git clone https://github.com/airspy/airspyone_host/
cd airspyone_host
mkdir build
cd build
cmake .. -DINSTALL_UDEV_RULES=ON
make -j4
sudo make install
sudo ldconfig
Quick Instructions to get SatHelperApp running assuming you have Go 1.10, libSatHelper and libAirspy installed.
go get github.com/OpenSatelliteProject/SatHelperApp
SatHelperApp
This should create a SatHelperApp.cfg
file in the same folder you ran SatHelperApp
. You can edit it and tune for your needs.
Have fun!
LimeSuite by default only compiles dynamic libraries (see myriadrf/LimeSuite#241), so the default behaviour of SatHelperApp wrapper is to dynamic link. However is possible to statically link the libLimeSuite so no external .so / .dll is needed.
To do that, build the libLimeSuite
with -DBUILD_SHARED_LIBS=OFF
to generate libLimeSuite.a
file.
# Compile Static
cmake .. -DBUILD_SHARED_LIBS=OFF
make -j8
sudo make install
Then change LimeDevice.go ldflags line from:
#cgo LDFLAGS: -lLimeSuite
to
#cgo LDFLAGS: -l:libLimeSuite.a -l:libstdc++.a -static-libgcc -lm -lusb-1.0
And then compile SatHelperApp as normal.
I need to say thanks to all people that helped me with the project:
-
And many more other people that I can't get the twitter or I don't know how to mention it. Also if forgot about you, let me know to put your name here!
And also the people that contributed with:
Also thank to these companies for providing hardware for testing OpenSatelliteProject: