Commit Graph

44 Commits

Author SHA1 Message Date
Benjamin Boardman 4261bbb299 Add MPE/OPM config 2026-06-02 10:33:47 -04:00
excf28 0279225903 KSRSS Reborn + Kronometer support 2024-09-03 17:08:52 +02:00
ThreePounds ce3fb12160 removed whitespaces 2023-08-29 14:21:23 +02:00
ThreePounds 36b5f4de26 fixed orbital parameters of Mun, Minmus and Bop
The converter tool apparently can't handle JNSQ's MM patches for Principia support, instead defaulting to errenous stock values.

I've manually corrected the orbital parameters of affected bodies.
2023-08-29 14:19:40 +02:00
Krafpy 75bcfa9d3d KSP2 date display mode autocheck 2023-08-09 12:11:02 +02:00
Krafpy 0af3ed7827 Added KSP2 data
Some planet's orbital elements are slightly different from KSP1.
2023-08-09 12:02:28 +02:00
Krafpy 52513bd9ef Added default duration limit to other systems. 2023-05-25 19:56:01 +02:00
Krafpy 7aee9ea9c5 Added trajectory duration limit (stock only)
A new trajectory setting has been added to the editor to enter the
trajectory duration limit (in number of days). It adds a big
cost to the DE algorithm if the duration of a trajectory is longer
than the specified duration limit.
2023-05-25 19:33:34 +02:00
Krafpy 446b5e8095 Added 1950-01-01 epoch offset for RSS 2022-12-16 19:28:50 +01:00
Krafpy 46d6176cd8 Added epochOffset parameter in config.orbit 2022-12-16 19:25:21 +01:00
Krafpy 2cfb9c0066 Refactored the KSPTime classes
There is no longer a `elapsedYDHMS` property.
Instead, a `displayYDHMS` represents the date to actually
dispay (in UT mode). For specific elapsed time calculation,
this is done directly inside `stringYDHMS` on EMT mode, because
this is the only place where it's used.

Some struggle when modifying the departure and arrival
dates has also been modified by making the auto validation
less harsh in `TimeSelector`. Still some annoying
effects on the system time selector.
2022-12-02 22:53:38 +01:00
Krafpy bb9c88b889 Set RSS time to real in config. 2022-12-02 20:35:10 +01:00
Krafpy 6e676fc8ac Merge branch 'add-real-time' into rss-tnqoy 2022-12-02 20:26:15 +01:00
Krafpy bfe3e22ce1 Added real time option
Real time option added in `config.yml`.
Now the time option requires a `type` parameter
which is either `base` or `real`. `base` represents
the default time system used in stock KSP. `real` will
use the builtin JS date time system. The reference
time is January 1st 1970.
2022-12-02 20:08:46 +01:00
TNQOYxNU be12ca98b7 real solar system (data only)
need proper calendar support
2022-11-13 16:34:38 +00:00
TNQOYxNU e186a2b5eb fix outer planets & kerbol origins eeloo soi & order 2022-10-12 11:12:16 +00:00
TNQOYxNU 01297568f6 outer planets & kerbol origins 2022-10-12 00:33:13 +00:00
Krafpy 1a18412eff Reordering sun parameters. 2022-08-20 21:18:39 +02:00
Krafpy 6333f217c1 Added JNSQ atmospheres. 2022-08-20 21:12:55 +02:00
Krafpy 4467a5095a Atmosphere height consideration
Added an optional `atmosphereAlt` paramater in bodies's descrptions.
The flyby calculation now prevents a periapsis altitude below
the atmosphere limit.
2022-08-20 20:28:36 +02:00
Krafpy 337c1c26fc Combine with stock checkbox 2022-08-20 14:05:07 +02:00
Krafpy 4384ab9db6 Update bodies.yml
Linked data source.
2022-08-20 02:06:36 +02:00
Krafpy 916550b18d Added Korpernicus CFG converter
- Added tools/cfg-to-yml page
- Removed `sideralPeriod` parameter from data and `orbit.ts`
- Replaced `jnsq/bodies.yml` using the new converter
2022-08-19 16:01:51 +02:00
Krafpy 4dd1c9a6ce Added per-body epoch to reference mean anomalies
Each (orbiting) body now has a custom `epoch` attribute defining the
date (in seconds) to which `meanAnomaly0` refers to.
2022-08-18 01:51:42 +02:00
Krafpy 87ab83f70e Fixed JNSQ Moho sideral period. 2022-07-22 13:12:15 +02:00
Krafpy d3d56674eb Fixed sprite display for JSNQ. 2022-07-22 00:35:41 +02:00
Krafpy 4e771046fa Added JNSQ. 2022-07-21 23:53:05 +02:00
Krafpy a88aea6472 Added solar system selector. 2022-07-21 21:30:52 +02:00
Krafpy 7178bc2778 Implemented vessel sprite display. 2022-07-17 10:08:30 +02:00
Krafpy b92cd8d8ed Maneuver sprite distance-based visibility. 2022-07-15 15:30:57 +02:00
Krafpy b8ca14519e Added new sprites. 2022-07-13 22:59:36 +02:00
Krafpy e0f592cdba Added SOI display
- Added SOI checkbox in the editor
- Added management of SOI displays during rendering in `system.ts`
- Replaced body sprites with spheres
2022-07-12 17:35:18 +02:00
Krafpy ed9ab0cf6c Refactoring and improvement of the evolution.
- `ChunkedEvolver` has been moved to a namespace `Evolution` to avoid
useless member functions.

- The DE algorithm now uses a dynamic CR coefficient, which increases
exponentially from `minCrossProba` to `maxCrossProba` at a rate
defined by `crossProbaIncr`.
2022-07-12 03:07:39 +02:00
Krafpy 8795b09366 More visible trajectory lines. 2022-07-11 12:12:46 +02:00
Krafpy 8bc28a294e Fixes and improvements
- Reenabled second leg arcs recalculations
- Empirically tested new values for CR and F of the differential evolution
2022-07-08 18:56:37 +02:00
Krafpy e2440b9934 Update kspbodies.yml 2021-12-25 00:49:59 +01:00
Krafpy 424927ba93 Update kspbodies.yml 2021-12-25 00:47:15 +01:00
Krafpy 4c55ee45c4 Added edit info in configuration files. 2021-12-25 00:38:34 +01:00
Krafpy a05c9e5c9d Major 3D physics and calculation update.
- The 3D physics functions have been moved into a `Physics3D` namespace
- The `TrajectoryCalculator` has been completely recoded and commented
- The `TrajectoryOptimizer` has been recoded accordingly
- Various optimizations focusing on reducing the number of costly
function calls
2021-12-24 02:06:12 +01:00
Krafpy f010b21165 New sprites 2021-12-19 19:36:30 +01:00
Krafpy 8da935b047 2D physics fix and error handling consistency
- Reimplemented 2D orbital mechanics functions in physics-2d.ts
and encaspulated inside a `Physics2D` namespace.
- Deleted physics.ts and moved the required functions into physics-3d.ts
Further cleaning and reimplemntation will be done on the physics-3d.ts
content.
- Forced consistency on error handling : every raised error throws
an `Error` object.
- Commented sections relative to 2D physics and sequence generation.
2021-12-19 17:19:30 +01:00
Krafpy c036f6f1a0 Removed inconsistent indentations. 2021-08-17 15:53:24 +02:00
Krafpy a921cd2882 Edited YAML files syntax.
Removed the `---` and `...` causing the file being returned
empty with Github Pages.
2021-08-16 09:52:27 +02:00
Krafpy 824af087c1 Modified file structure.
Modified the file structure to have the `index.html` at the root
of the repository. Needed for Github Pages.
2021-08-15 21:31:25 +02:00