Migration from KRPC.MechJeb 0.7.1#

kRPC 0.8 adds the MechJeb service, which Genhis’ KRPC.MechJeb 0.7.1 provided before. The service follows MechJeb’s windows, so some 0.7.1 members moved or were renamed. 0.7.1 names are given as in C#.

0.7.1

0.8

Note

MechJeb.AscentAutopilot

MechJeb.getAscentGuidance()

MechJeb.AirplaneAutopilot

MechJeb.getAircraftAutopilot()

MechJeb.LandingAutopilot

MechJeb.getLandingGuidance()

MechJeb.ThrustController

MechJeb.Utilities.getThrust()

MechJeb.StagingController

MechJeb.Utilities.getStaging()

MechJeb.SolarPanelController

MechJeb.Utilities.getSolarPanels()

MechJeb.AntennaController

MechJeb.Utilities.getAntennas()

MechJeb.NodeExecutor

MechJeb.getManeuverPlanner()

Its members move to the maneuver planner, below

MechJeb.RCSController

MechJeb.getSmartRCS()

Its members move to Smart RCS, below

MechJeb.APIReady

MechJeb.getAvailable() and MechJeb.getReady()

AscentAutopilot.Enabled

MechJeb.AscentGuidance.getEnabled()

AscentAutopilot.Status

MechJeb.AscentGuidance.getStatus()

AscentAutopilot.DesiredOrbitAltitude

MechJeb.AscentGuidance.getDesiredOrbitAltitude()

AscentAutopilot.DesiredInclination

MechJeb.AscentGuidance.getDesiredInclination()

AscentAutopilot.LaunchPhaseAngle

MechJeb.AscentGuidance.getLaunchPhaseAngle()

AscentAutopilot.LaunchLANDifference

MechJeb.AscentGuidance.getLaunchLANDifference()

AscentAutopilot.WarpCountDown

MechJeb.AscentGuidance.getWarpCountDown()

AscentAutopilot.LaunchMode

MechJeb.AscentGuidance.getLaunchMode()

AscentAutopilot.AbortTimedLaunch

MechJeb.AscentGuidance.abortTimedLaunch()

AscentAutopilot.LaunchToRendezvous

MechJeb.AscentGuidance.launchToRendezvous()

AscentAutopilot.LaunchToTargetPlane

MechJeb.AscentGuidance.launchToTargetPlane()

AscentAutopilot.AscentPathIndex

MechJeb.AscentGuidance.getAscentType()

0 is MechJeb.AscentType.classic and 2 is MechJeb.AscentType.pvg

AscentAutopilot.AscentPathClassic

MechJeb.AscentGuidance.getClassicPath()

AscentAutopilot.AscentPathPVG

MechJeb.AscentGuidance.getPVGSettings()

AscentAutopilot.CorrectiveSteering

MechJeb.AscentSettings.getCorrectiveSteering()

Through MechJeb.AscentGuidance.getSettings()

AscentAutopilot.CorrectiveSteeringGain

MechJeb.AscentSettings.getCorrectiveSteeringGain()

Through MechJeb.AscentGuidance.getSettings()

AscentAutopilot.ForceRoll

MechJeb.AscentSettings.getForceRoll()

Through MechJeb.AscentGuidance.getSettings()

AscentAutopilot.VerticalRoll

MechJeb.AscentSettings.getVerticalRoll()

Through MechJeb.AscentGuidance.getSettings()

AscentAutopilot.TurnRoll

MechJeb.AscentSettings.getTurnRoll()

Through MechJeb.AscentGuidance.getSettings()

AscentAutopilot.AutodeploySolarPanels

MechJeb.AscentSettings.getAutodeploySolarPanels()

Through MechJeb.AscentGuidance.getSettings()

AscentAutopilot.AutoDeployAntennas

MechJeb.AscentSettings.getAutoDeployAntennas()

Through MechJeb.AscentGuidance.getSettings()

AscentAutopilot.SkipCircularization

MechJeb.AscentSettings.getSkipCircularization()

Through MechJeb.AscentGuidance.getSettings()

AscentAutopilot.Autostage

MechJeb.AscentSettings.getAutostage()

Through MechJeb.AscentGuidance.getSettings()

AscentAutopilot.LimitAoA

MechJeb.AscentSettings.getLimitAngleOfAttack()

Through MechJeb.AscentGuidance.getSettings()

AscentAutopilot.MaxAoA

MechJeb.AscentSettings.getMaxAngleOfAttack()

Through MechJeb.AscentGuidance.getSettings()

AscentAutopilot.AoALimitFadeoutPressure

MechJeb.AscentSettings.getAngleOfAttackLimitFadeoutPressure()

Through MechJeb.AscentGuidance.getSettings()

AscentAutopilot.ThrustController

MechJeb.AscentSettings.getThrust()

AscentAutopilot.StagingController

MechJeb.AscentSettings.getStaging()

AscentAutopilot.AscentPathGT

Removed

MechJeb 2.15 has no gravity turn path

AscentClassic

MechJeb.ClassicPath

Members keep their names

AscentPVG.DesiredApoapsis

MechJeb.AscentGuidance.getDesiredApoapsis()

AscentPVG.AttachAltFlag

MechJeb.AscentGuidance.getAttachAltFlag()

AscentPVG.DesiredAttachAlt

MechJeb.AscentGuidance.getDesiredAttachAlt()

AscentPVG

MechJeb.PVGSettings

Its other members keep their names

AscentGT

Removed

MechJeb 2.15 has no gravity turn path

ThrustController

MechJeb.ThrustLimiter

Members keep their names

ThrustController.SmoothThrottle, ThrottleSmoothingTime

Removed

MechJeb 2.15 removed them

StagingController

MechJeb.Autostaging

Its other members keep their names

StagingController.AutostagingOnce

MechJeb.Autostaging.autostageOnce()

MechJeb.Autostaging.getAutostagingOnce() is read-only

NodeExecutor.ExecuteOneNode

MechJeb.ManeuverPlanner.executeNextNode()

NodeExecutor.ExecuteAllNodes

MechJeb.ManeuverPlanner.executeAllNodes()

NodeExecutor.Abort

MechJeb.ManeuverPlanner.abortNodeExecution()

NodeExecutor.Enabled

MechJeb.ManeuverPlanner.getExecutingNode()

NodeExecutor.Autowarp

MechJeb.ManeuverPlanner.getAutowarp()

NodeExecutor.LeadTime

MechJeb.ManeuverPlanner.getLeadTime()

NodeExecutor.Tolerance

Removed

MechJeb 2.15 removed it

RCSController.RCSThrottle

MechJeb.SmartRCS.getRCSThrottle()

RCSController.RCSForRotation

MechJeb.SmartRCS.getRCSForRotation()

SmartRCS.RCSController

Removed

Its members are on MechJeb.SmartRCS

LandingAutopilot

MechJeb.LandingGuidance

Its other members keep their names

LandingAutopilot.RcsAdjustment

MechJeb.LandingGuidance.getRCSAdjustment()

LandingAutopilot.LandAtPositionTarget

MechJeb.LandingGuidance.landAtTarget()

LandingAutopilot.LandUntargeted

MechJeb.LandingGuidance.landSomewhere()

LandingAutopilot.StopLanding

MechJeb.LandingGuidance.abortAutoland()

TargetController.SetPositionTarget

MechJeb.LandingGuidance.setTarget()

TargetController.PickPositionTargetOnMap

MechJeb.LandingGuidance.pickTargetOnMap()

TargetController.GetPositionTargetString

MechJeb.LandingGuidance.getTargetString()

TargetController.GetPositionTargetPosition

MechJeb.LandingGuidance.getTargetPosition()

AirplaneAutopilot

MechJeb.AircraftAutopilot

Members keep their names

Operation.MakeNode

MechJeb.OperationApoapsis.makeNodes()

On each operation. It returns every node

OperationCourseCorrection.CourseCorrectFinalPeA

MechJeb.OperationCourseCorrection.getFinalPeriapsisAltitude()

OperationTransfer.InterceptOnly

MechJeb.OperationTransfer.getCapture()

The inverse

OperationTransfer.SimpleTransfer

MechJeb.OperationTransfer.getCoplanar()

OperationTransfer.PeriodOffset

MechJeb.OperationTransfer.getLagTime()

A time in seconds, rather than a fraction of the target’s period

Members not listed keep their names and classes.