Propagators:
- AIDA: a numerical propagator for Earth-orbiting object
- SADA: a semi-analytical propagator
This is a list of libraries that are required for compiling, linking and runnig the software, follow Page 31 of Manual to install them easily:
- JSONcpp
- DLib
- Eigen
- CSPICE
📂 We suggest to install the CSPICE includes in/usr/local/include/cspice, the binaries in/usr/local/bin, and the librariescspice.aandcsupport.ain/usr/local/lib. - DACE
❗ The Differential Algebra Computational toolbox shall be compiled with option-DWITH_ALGEBRAICMATRIX=ONto enable the algebraic matrices support.
To generate unit tests (optional) this additional dependency is required:
- Download or clone the repository:
git clone "https://github.com/zenop95/astrotools.git"- Navigate to the repository folder:
cd astrotools- Run cmake and create a folder where to build the repository, e.g.:
cmake -S . -B ./_buildThis will build the repository libraries and tools with the predefined build type (RelWithDebInfo) and with unit tests enabled. To select another build flavour, change compiler, or to disable unit tests you can play around with the following options:
cmake -S . -B ./_build -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=NO -DCMAKE_CXX_COMPILER=clang- Go to the build directory and run
cd _build
make- Install the library
sudo make installUse sudo to get the required permissions to install into your system directories (usually /usr/local), drop it when installing in your $HOME folder.
Unit tests are located in the tests folder. To run test run from the _build folder:
make testor use directly the ctest executable (which provides more options)
ctest