MechJeb2

MechJeb2

4M Downloads

Ascent Guidance and Node Executor PEG-like rewrite (PVG - Primer Vector Guidance)

lamont-granquist opened this issue ยท 0 comments

commented

The Shuttle PEG rewrite is here:

Due to PEG's issue with 45 degree phi clamping, I've been rewriting it with a proper trajectory optimizer.

Phase I:

  • do all the existing use cases properly without bugginess, using better guidance
  • bring back the old node executor functionality (that was gone in all my PEG builds) as a fail-safe
  • support principia node execution without tight integration
  • single optimized coast phase between booster(s) and upper stage

Phase II:

  • proper launch to rendezvous planning without prelaunch
  • keplerian targeting of arbitrary orbital elements, and setting them to track a target or manually entered
  • launch to match LAN of target (without matching all the rest of the target's elements)
  • launch now, but match LAN (maybe with porkchop plots?)
  • rendezvous with offset of distance or true anomaly
  • atmospheric variable ISP effects (take into account surface ISP)
  • teach the optimizer about the g-limiter
  • add a trivial drag model (no lift, no mach effects, acts axially opposite to thrust)?
  • suborbital hops targeting altitude + inc/LAN while maximizing velocity, terminating at a stage and fully burning it
  • tight integration with principia's predictions for N-body accuracy

Phase III (wishlist):

  • direct ascent to moon
  • direct ascent to interplanetary
  • one button launch to GEO
  • aerodynamics with path constraints in the optimizer
  • optimized launches through Eve's atmosphere
  • analytic coast phase integration
  • analytic thrust integrals for first-pass rapid optimization
  • better numerical jacobian which is not O(n^2) with the number of stages
  • parallel threading for the integrator / jacobian calculations

Other Misc Fixes:

  • support autostaging hot staged engines
  • fairing deployment manager
  • manual textbox for launching at a window in the future (warphelper integration with ascent API)