Skip to content

Latest commit

 

History

History
57 lines (31 loc) · 1.93 KB

README.md

File metadata and controls

57 lines (31 loc) · 1.93 KB

Tudat Bundle

The Tudat bundle contains Tudat and a number of external libraries in a modular fashion. The TU Delft Astrodynamics Toolbox (Tudat) is a set of C++ software libraries for simulating various astrodynamics applications, for more info see the Tudat website.

Instructions

This document contains minimal information on how to build the Tudat bundle. For more information see documentation below.

Building the project

  1. Clone the repository on your computer (or fork and then clone)

     git clone https://github.com/tudat/tudatBundle.git
    
  2. Enter the new directory

     cd tudatBundle
    
  3. Checkout all the submodules (optionally you can clone only the necessary submodules)

     git submodule update --init --recursive
    
  4. Make a new build directory and enter

     mkdir build && cd build
    
  5. Initiate CMake for the project

     cmake ../
    
  6. Build the project

     make
    

Note: it can happen that due to dependencies between the submodules the make process quits with an error (after building SPICE or JSONCPP, for instance). In this case, please repeat steps 5 and 6 once or twice.

### Switching on/off libraries and applications
  1. Edit CMakeLists.txt

  2. Comment out or add new add_subdirectory lines. The argument of add_subdirectory should be the path containing the library's or application's CMakeLists.txt.

Creating your own applications

  1. Copy the templateApplication from tudatExampleApplications to tudatApplications and give it your own name

     cp -R tudatExampleApplications/templateApplication tudatApplications/myApplication
    
  2. Add your project to the central CMakeLists.txt, see intructions above.

  3. Re-run cmake and make commands.

Documentation