Commit Graph

80 Commits

Author SHA1 Message Date
Nazar Misyats fe634389da Check if initials match exactly a body's name 2025-10-18 01:22:24 -07:00
Krafpy 28dce7952c Refactored custom sequence parsing
Initials no longer limited to 2 characters, but require enough
characters avoid ambiguity between bodies.
2024-12-11 19:03:48 +01:00
Krafpy c6a850f7d4 Minor filename case change for consistency 2024-09-04 01:10:05 +02:00
excf28 0279225903 KSRSS Reborn + Kronometer support 2024-09-03 17:08:52 +02:00
Krafpy 677ced6d3a Fixed typo and better error checking
Fixed a typo in orbitElementsFromOrbitData and added an undefined check
for orbitParam.
2023-12-08 00:54:02 +01:00
Krafpy 75bcfa9d3d KSP2 date display mode autocheck 2023-08-09 12:11:02 +02:00
Krafpy 4c02161e43 Option to show dates as elapsed time
Added a checkbox which changes the display of dates (UT, not MET)
from Year/Day starting at 1 but elapsed Years/elapsed Days starting
at 0 (T+). This has no effect on the solar system that use
real time (like RSS).
2023-08-08 16:41:52 +02:00
Krafpy f13e8c0963 Added checkbox to enable/disable max duration. 2023-05-25 19:52:21 +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 2fbacd87a9 Added CSV data download button. 2023-01-08 00:06:01 +01:00
Krafpy 2aee15da27 Fix drag when over textbox button. 2023-01-07 01:35:39 +01:00
Krafpy 0d2af87293 Fix missing prograde value cleanup. 2023-01-07 01:00:18 +01:00
Krafpy 2703c6fb41 Clamp textbox header position in window. 2023-01-03 10:12:59 +01:00
Krafpy b9c925b6e7 Clamp textbox position in window. 2023-01-03 08:34:56 +01:00
Krafpy 5d824b336e Update draggable-text.ts 2023-01-02 23:22:27 +01:00
Krafpy f710887a95 Fixed duplicate textboxes. 2023-01-02 18:02:43 +01:00
Krafpy 183f70fa47 Added copy to clipboard button 2023-01-02 17:25:14 +01:00
Krafpy 05c1910f78 Added UT time in trajectort text. 2023-01-02 15:37:39 +01:00
Krafpy 8a8a4d722f Added to UT conversion in time. 2023-01-02 15:03:34 +01:00
Krafpy 522f590138 Added button to displayed detailed text panel.
Also refactored `button.ts` to use a common `Button` class instead
of separate `SubmitButton` and `StopButton` types.
2023-01-02 14:46:32 +01:00
Krafpy b17398f5aa Added draggable textbox. 2023-01-02 13:49:33 +01:00
Krafpy b6b210d269 Added trajectory to text conversion. 2023-01-02 00:01:43 +01:00
Krafpy aefe05e45b Fixed sprite display for some screens. 2022-12-18 14:43:32 +01:00
Krafpy 32a6ebfd9c Deleted useless JS files. 2022-12-18 14:21:02 +01:00
Krafpy 46d6176cd8 Added epochOffset parameter in config.orbit 2022-12-16 19:25:21 +01:00
Krafpy 70fdf03264 Fixed time autocomplete 2022-12-16 18:39:53 +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 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
Krafpy 0730d4241d Changed camera start position. 2022-10-08 14:53:15 +02:00
Krafpy b95a4da37d Added ejection angle display
- Added velocity vector calculation in `Orbit` class
- Added item for ejection maneuver to display ejection angle
2022-10-08 14:35:32 +02:00
Krafpy a8fd20fdcf Fixed UI clean up after system change.
Arrival date and flyby date weren't cleaned when changing
system. Date spans also could still be clicked after
being cleaned when changing solar system.
2022-10-05 22:15:07 +02:00
Krafpy b4085b6100 Added arrival date display. 2022-10-05 22:05:01 +02:00
Krafpy 05b02e217a Fixed missing parameter. 2022-08-21 21:27:28 +02:00
Krafpy 1a18412eff Reordering sun parameters. 2022-08-20 21:18:39 +02:00
Krafpy 81e9869f3e Get atmospheres in CFG converter 2022-08-20 21:08:25 +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 c75ba94cf8 Added insertion burn checkbox. 2022-08-20 01:34:02 +02:00
Krafpy f9968fd139 Fixed relative path access ? 2022-08-19 16:18:03 +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 6a31a2e80a Fixed selectors on system change. 2022-07-22 12:57:07 +02:00
Krafpy 6b0a5b752e Fixed jumping mean anomaly. 2022-07-22 12:49:42 +02:00
Krafpy d3d56674eb Fixed sprite display for JSNQ. 2022-07-22 00:35:41 +02:00
Krafpy a88aea6472 Added solar system selector. 2022-07-21 21:30:52 +02:00
Krafpy 9a8cba06e6 Refactored main loading. 2022-07-21 19:14:48 +02:00
Krafpy 7178bc2778 Implemented vessel sprite display. 2022-07-17 10:08:30 +02:00
Krafpy 0f96aedf80 Commented trajectory.ts 2022-07-16 22:04:56 +02:00
Krafpy a569721f3c Starting mean anomalies for steps. 2022-07-16 21:35:31 +02:00
Krafpy a399f72d3b Fixed sprites display on slider change. 2022-07-15 16:07:42 +02:00