Skip to content

LordIdra/OSTRICH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

OSTRICH (Orbital Simulation with Transient Rectilinear Interactions In C++ with Heuristics) is an interactive orbital simulator. This project was created as coursework for A-Level Computer Science and received full marks (2023).

Screenshot from 2023-06-25 18-17-52 Screenshot from 2023-06-25 18-16-57 Screenshot from 2023-06-25 18-18-15

Compilation

The project is built with CMake. Please note that this project assumes you are running on a Linux system and have vcpkg installed in your home directory. You will need to modify the build scripts to suit your system if this is not the case (good luck). You'll need to vcpkg install GLAD, GLFW, GLM, imgui, and yaml-cpp to compile the project. Otherwise, simply build the project as any other CMake project by entering the directory and running cmake . followed by make, and run it using ./OSTRICH.

Usage

The simulator comes with two pre-built scenarios; the Earth-Moon system with a spacecraft, and the Solar System. Scenarios are stored in .yml files under scenarios, and can be edited as you please. The examples provided should be sufficient to understand how the .yml files must be structured. A CalculateOrbit.py file is included which I used to create the solar system scenario; you may find this useful in creating your own scenarios.

Notes

There are still substantial issues with the software (such as more frequent crashes than I would like), but it can be considered largely complete and usable. If you have any interest in the project (either as its own thing, or as an A-level Computer Science project) or for some insane reason wish to contribute, please don't hesitate to get in touch.