Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Ornstein89/ephemeris_generic_example

Open more actions menu

Repository files navigation

License: MIT en ru CMake build Windows/Linux CMake test on Windows/Linux

Переход к описанию на русском

Basic Example of Ephemeris Libraries Use

Description

The project shows an example of Solar System bodies position and modion calculation with:

  1. JPL ephemeris (DE-series) with NAIF C SPICE toolkit.
  2. IAA RAS ephemeris (EPM-series) with libephaccess library.

Build and launch

Windows

Need to install CMake* and one of C/C++ build tools (MSVC as part of Visual Studio Community, for example) first.

*I'm working on alternative build system based on Visual Studio solution only, will be available in the future.

git clone https://github.com/Ornstein89/ephemeris_generic_example.git
cd ephemeris_generic_example
mkdir build_windows
cd build_windows
cmake .. :: cmake configure for your local machine
cmake --build :: build of all targets: example apps, libs, tests
ctest :: unit testing

Linux

Need to install CMake and C/C++ build tools first:

sudo apt-get install git g++ gcc build-essential cmake

Project build:

git clone https://github.com/Ornstein89/ephemeris_generic_example.git
cd ephemeris_generic_example
mkdir build_ubuntu
cd build_ubuntu
cmake .. # cmake configure for your local machine
cmake --build # build of all targets: example apps, libs, tests
ctest # unit testing

TODO

  • CMake adaptation
  • CMake autodownload libs and kernels
  • CI/CD
  • Crosspaltform build (Windows/Linux)
  • Update Visual Studio build system
  • Description internationalization
  • Documentation
  • Testing

About

An example of ephemeris calculation with different toolkits and sources: NASA/NAIF SPICE toolkit with JPL DE440 ephemeris and IAA RAS EPM 2021 ephemeris

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.