SatHelperApp

package module
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2019 License: MIT Imports: 0 Imported by: 0

README

Snap Status Build Status MIT License

SatHelperApp

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.

Building

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!

Ubuntu Instructions to get it running

Base tools:

sudo apt install build-essential cmake swig

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!

Static libLimeSuite

LimeSuite by default only compiles dynamic libraries (see https://github.com/myriadrf/LimeSuite/issues/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.

Thanks

I need to say thanks to all people that helped me with the project:

  • @hdoverobinson

  • @usa_satcom

  • @devnulling

  • 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:

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	VersionString   string
	RevString       string
	CompilationTime string
	CompilationDate string
)

Functions

func GetCompilationDate

func GetCompilationDate() string

func GetCompilationTime

func GetCompilationTime() string

func GetRevision

func GetRevision() string

func GetVersion

func GetVersion() string

Types

This section is empty.

Directories

Path Synopsis
RPC
Geo
Geo Geographic Conversion Tools Based on: http://www.cgms-info.org/documents/pdf_cgms_03.pdf
Geo Geographic Conversion Tools Based on: http://www.cgms-info.org/documents/pdf_cgms_03.pdf
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL