Skip to content

kRPC Mechjeb Dev v1.0.0

Latest

Choose a tag to compare

@djungelorm djungelorm released this 21 Nov 15:00
· 7 commits to main since this release
v1.0.0
03d16c2

A replacement of kRPC's MechJeb service for MechJeb's dev builds. This is a best-effort project: report problems here, not on kRPC's tracker.

Built against kRPC v0.8.0, and tested with MechJeb dev-2.16.0.0-2120.

Install. Install kRPC v0.8.0 and MechJeb dev-2.16.0.0-2120, then unzip krpc-mechjeb-dev-1.0.0.zip into the KSP folder. It replaces kRPC's MechJeb files in GameData/kRPC, so unzip it again after each kRPC update.

Clients. Each krpc-mechjeb-dev-<client>-1.0.0.zip holds the stub of the service for that client. The Clients page says how each client picks it up. Lua needs none.

MechJeb. MechJeb2-dev-2.16.0.0-2120.zip is a copy of the MechJeb build this release is tested with, as MechJeb removes old dev builds. MechJeb is under the GPLv3, and MechJeb2-dev-2.16.0.0-2120-source.zip is its source, from MechJeb's commit f957bee.

Changes from kRPC v0.8.0's MechJeb service

  • Start from the MechJeb service of kRPC v0.8.0

  • Bind the maneuver planner, attitude adjustment, solar panel, antenna and vessel state members MechJeb 2.16 renamed

  • RCSThrottle and LimiterMinThrottle default to false, as in MechJeb 2.16

  • DeployableController.RetractAll leaves parts that are still extending extended, as in MechJeb 2.16

  • Removed in MechJeb 2.16

    • Breaking: Remove AircraftAutopilot and AircraftApproach, as MechJeb 2.16 has no aircraft autopilot
    • Breaking: Remove OperationInterplanetaryTransfer. Use OperationAdvancedTransfer
  • Ascent

    • Breaking: Replace the PVG ascent with PSG, Polynomial SQP Guidance: AscentType.PVG with AscentType.PSG, and PVGSettings with PSGSettings. PSG plans the stages itself, so the PVG stage settings go
    • Breaking: Set the PSG target orbit with AscentGuidance.PeriapsisAltitude, ApoapsisAltitude, BurnoutAltitude, FlightPathAngle and ArgumentOfPeriapsis, in place of DesiredApoapsis, AttachAltFlag, DesiredAttachAlt and DesiredFPA
    • Breaking: Move CorrectiveSteering, CorrectiveSteeringGain, LimitAngleOfAttack, MaxAngleOfAttack, AngleOfAttackLimitFadeoutPressure and SkipCircularization from AscentSettings to ClassicPath, as they apply to the classic ascent only
    • Breaking: AscentSettings.Staging and Thrust are the ascent's own settings, AscentStaging and AscentThrustLimits, which apply in place of the general ones while the ascent flies
    • Breaking: AscentSettings.Autowarp is the ascent's own, no longer shared with the maneuver planner
    • Breaking: Rename AutodeploySolarPanels to AutoDeploySolarPanels
    • Breaking: Remove LaunchToRendezvous, LaunchPhaseAngle, and the Rendezvous and Unknown launch modes, as MechJeb 2.16 times every launch itself
    • Breaking: Rename LaunchToMatchLan and AscentLaunchMode.MatchLan to LaunchToTargetLan and TargetLan
    • Add AscentGuidance.TimeToLaunch, and the guidance state of the PSG ascent to PSGSettings
  • Maneuver planner

    • Breaking: Replace OperationTransfer.Rendezvous with MatchOrbit, its opposite, as in MechJeb 2.16
    • Breaking: OperationAdvancedTransfer defaults to MechJeb's porkchop mode. Set Mode to LimitedTime for the search up to MaxArrivalTime
    • Add the porkchop selection to OperationAdvancedTransfer, with SelectLowestDeltaV, SelectAsap, Select and the selected departure, duration and delta-v
    • Add TargetInclination to OperationAdvancedTransfer, and Inclination to OperationCourseCorrection and OperationMoonReturn
    • Add OperationStationaryOrbit
    • Add InitialWarpLeadTime, AlignedTolerance and WarpAlignedTolerance to the node execution settings of ManeuverPlanner
  • Add HoverslamAutopilot, MechJeb 2.16's single-burn landing, with its landing prediction

  • Breaking: LandingGuidance.Autowarp is the landing's own, no longer shared with the maneuver planner

  • Add LimiterMinThrottle, MinThrottle and JettisonBeforeEntry to LandingGuidance

  • Add the fairing conditions and DropSolids to Autostaging