Commit Graph

11 Commits

Author SHA1 Message Date
Krafpy
01a733fbd1 Moved NaN check to the optimizer script. 2021-12-24 17:35:12 +01:00
Krafpy
c7cc922ba6 Removed useless return. 2021-12-24 17:23:17 +01:00
Krafpy
0a130de36a Fixed unconnected second leg arc and flyby orbit. 2021-12-24 17:18:53 +01:00
Krafpy
1d7b74ef00 Trajectory evaluation fix and time display.
- Moved the second leg arc recalculation to the evaluation fonction,
so it is always calculated for every trajectories, not the
bes one only. It led to wrong "best" deltaV calculations.
- Fixed the accuracy of the system time when clicking on a date displayed
in maneuver details.
2021-12-24 16:26:51 +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
de1930c3e6 Renamed periapsisDir into periapsisVec in Physics2D. 2021-12-20 13:25:50 +01:00
Krafpy
0210eb9390 Renamings. 2021-12-20 13:17:17 +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
4cfdce73e4 Updated worker scripts structure.
Created a `WorkerEnvironment` class to contain the scripts
in the dedicated workers.
2021-08-20 16:38:29 +02:00
Krafpy
b7e2ec92ab Added circularization maneuver.
- Added circularization calculation in `TrajectoryCalculator` with new maneuver type
- Added display of the circularization step
- Edited the related paragraph in the page
2021-08-17 13:16:24 +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