Skip to content

6DOF Flight Simulation for High Power Model Rocketry

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
COPYING
Notifications You must be signed in to change notification settings

rdoddanavar/hpr-sim

Repository files navigation

hpr-sim

Overview

The goal of this project is to build a robust, extensible flight simulation package for high power rocketry, with open-source dependencies. Key features considered to constitute a "robust" simulation include:

  • 6-DOF kinematic model
  • Monte Carlo functionality
  • Multiprocessing to support large test cases
  • Flexible atmospheric modeling
  • Stochastic wind turbulence model
  • Comptability w/ RASP (*.eng) engine files (http://www.thrustcurve.org/raspformat.shtml)
  • Flight data visualization & plain-text export
  • Simple input API for additional scripting & extensions

The intent is to lean on the respective strengths of python and C++ to create a modern, efficient simulation package. Python is used for pre-processing, post-processing, and data visualization, while C++ constitutes the bulk of the numerical routines. Pybind11 is used as a binding library to interface between the two sets of source code.

Current efforts are focused on builds for these platforms:

Platform Runner OS Test(s)
Linux x64 ubuntu-22.04

External Libraries

Managed through git submodule; included with repository by default:

Version Purpose Link
eigen 3.4.0 Linear algebra utilities https://gitlab.com/libeigen/eigen
gsl 2.7.0 Scientific/numerical utilties https://github.com/ampl/gsl
pybind11 2.7.1 Python/C++ bindings https://github.com/pybind/pybind11

Directory Index

  • build/ - CMake build directory
  • config/ - Default simulation settings
  • doc/ - Manual & supporting documentation
  • input/ - Simulation & model input
  • lib/ - External libraries
  • output/ - Simulation data output
  • src/ - Python & C++ source
  • tools/ - Misc. utilities & test scripts
./
├── build/
├── config/
├── doc/
├── input/
├── lib/
│   ├── eigen/
│   ├── gsl/
│   └── pybind11/
├── output/
├── src/
│   ├── exec/
│   ├── model/
│   ├── postproc/
│   ├── preproc/
│   ├── test/
│   ├── util/
│   └── CMakeLists.txt
├── tools/
├── CMakeLists.txt
├── COPYING
├── hpr-sim.py
├── LICENSE
├── README.md
└── requirements.txt

22 directories, 22 files