Skip to content

zenop95/astrotools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

astrotools

Propagators:

  • AIDA: a numerical propagator for Earth-orbiting object
  • SADA: a semi-analytical propagator

Getting started

Prerequisites

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 libraries cspice.a and csupport.a in /usr/local/lib.
  • DACE
    ❗ The Differential Algebra Computational toolbox shall be compiled with option -DWITH_ALGEBRAICMATRIX=ON to enable the algebraic matrices support.

To generate unit tests (optional) this additional dependency is required:

Building and Installing

  1. Download or clone the repository:
git clone "https://github.com/zenop95/astrotools.git"
  1. Navigate to the repository folder:
cd astrotools
  1. Run cmake and create a folder where to build the repository, e.g.:
cmake -S . -B ./_build

This 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
  1. Go to the build directory and run
cd _build
make
  1. Install the library
sudo make install

Use sudo to get the required permissions to install into your system directories (usually /usr/local), drop it when installing in your $HOME folder.

Running the tests

Unit tests are located in the tests folder. To run test run from the _build folder:

make test

or use directly the ctest executable (which provides more options)

ctest

Deployment

Built with

About

Collection of tools for astrodynamics operations in differential algebra.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors