KSP Trajectory Optimization
Project description
Trajectorize
KSP Trajectory Optimizer.
This project is a reduced-scope version of one of my other (currently incomplete) projects, as an intermediate stepping stone.
This tool computes trajectories between celestial bodies in KSP based on on-rails two-body patched conics, incorporating trajectory correction maneuvers for a variety of mission scenarios, such as:
- Ballistic Hohmann transfers for other planets
- Gravity assist flyby routes
Computationally-intensive code is implemented in C, with a Python wrapper made using cffi
.
Installation
The package is still in development at this time, but you can install it from source.
Run pip install git+https://github.com/itchono/trajectorize
to install the package.
You will need to have Python 3.8+, and a C compiler installed to compile the C code.
Other Python dependencies are included inside pyproject.toml
, and will be installed automatically.
Demos
Right now, full functionality is incomplete. There are, however, some cool demos showing off the capabilities of the package.
Full Model of KSP Planetary System and Ephemerides
python -m trajectorize.demos.kerbol_system_anim
Propagation of Two-Body Trajectories Using Universal Keplerian Elements
python -m trajectorize.demos.orbit
Inspirations
- Interactive illustrated interplanetary guide and calculator for KSP, by Olex
- This tool, by AlexMoon
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file trajectorize-0.0.1.tar.gz
.
File metadata
- Download URL: trajectorize-0.0.1.tar.gz
- Upload date:
- Size: 34.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58f8be383b5e1727cdbb7d6aa29f939bf2ca0c8525ddab3a3777b2e134a11bb8 |
|
MD5 | 165a6c7c3a81e623861c46258fb893a0 |
|
BLAKE2b-256 | ef4310ff775192232eb9d4346d40e7bc8d8344c3ad2319adb5494be1f2b8df36 |