Giter Club home page Giter Club logo

hpr-sim's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.