File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
MicroEngineerProject/MicroEngineer Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -490,7 +490,8 @@ private void FillManeuver(int _ = 0)
490490 PatchedConicsOrbit newOrbit = activeVessel . Orbiter . ManeuverPlanSolver . PatchedConicsList . FirstOrDefault ( ) ;
491491 DrawEntry ( "Projected Ap." , MetersToDistanceString ( newOrbit . ApoapsisArl ) , "m" ) ;
492492 DrawEntry ( "Projected Pe." , MetersToDistanceString ( newOrbit . PeriapsisArl ) , "m" ) ;
493- DrawEntry ( "∆v required" , $ "{ currentManeuver . BurnRequiredDV : N1} ", "m/s" ) ;
493+ double requiredDVremaining = ( activeVessel . Orbiter . ManeuverPlanSolver . GetVelocityAfterFirstManeuver ( out double ut ) . vector - activeVessel . Orbit . GetOrbitalVelocityAtUTZup ( ut ) ) . magnitude ;
494+ DrawEntry ( "∆v required" , $ "{ requiredDVremaining : N1} ", "m/s" ) ;
494495 double timeUntilNode = currentManeuver . Time - GameManager . Instance . Game . UniverseModel . UniversalTime ;
495496 DrawEntry ( "Time to" , SecondsToTimeString ( timeUntilNode ) , "s" ) ;
496497 DrawEntry ( "Burn Time" , SecondsToTimeString ( currentManeuver . BurnDuration ) , "s" ) ;
You can’t perform that action at this time.
0 commit comments