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

krpc_MechJeb_AscentGuidance()

MechJeb.AirplaneAutopilot

krpc_MechJeb_AircraftAutopilot()

MechJeb.LandingAutopilot

krpc_MechJeb_LandingGuidance()

MechJeb.ThrustController

krpc_MechJeb_Utilities_Thrust()

MechJeb.StagingController

krpc_MechJeb_Utilities_Staging()

MechJeb.SolarPanelController

krpc_MechJeb_Utilities_SolarPanels()

MechJeb.AntennaController

krpc_MechJeb_Utilities_Antennas()

MechJeb.NodeExecutor

krpc_MechJeb_ManeuverPlanner()

Its members move to the maneuver planner, below

MechJeb.RCSController

krpc_MechJeb_SmartRCS()

Its members move to Smart RCS, below

MechJeb.APIReady

krpc_MechJeb_Available() and krpc_MechJeb_Ready()

AscentAutopilot.Enabled

krpc_MechJeb_AscentGuidance_Enabled()

AscentAutopilot.Status

krpc_MechJeb_AscentGuidance_Status()

AscentAutopilot.DesiredOrbitAltitude

krpc_MechJeb_AscentGuidance_DesiredOrbitAltitude()

AscentAutopilot.DesiredInclination

krpc_MechJeb_AscentGuidance_DesiredInclination()

AscentAutopilot.LaunchPhaseAngle

krpc_MechJeb_AscentGuidance_LaunchPhaseAngle()

AscentAutopilot.LaunchLANDifference

krpc_MechJeb_AscentGuidance_LaunchLANDifference()

AscentAutopilot.WarpCountDown

krpc_MechJeb_AscentGuidance_WarpCountDown()

AscentAutopilot.LaunchMode

krpc_MechJeb_AscentGuidance_LaunchMode()

AscentAutopilot.AbortTimedLaunch

krpc_MechJeb_AscentGuidance_AbortTimedLaunch()

AscentAutopilot.LaunchToRendezvous

krpc_MechJeb_AscentGuidance_LaunchToRendezvous()

AscentAutopilot.LaunchToTargetPlane

krpc_MechJeb_AscentGuidance_LaunchToTargetPlane()

AscentAutopilot.AscentPathIndex

krpc_MechJeb_AscentGuidance_AscentType()

0 is KRPC_MECHJEB_ASCENTTYPE_CLASSIC and 2 is KRPC_MECHJEB_ASCENTTYPE_PVG

AscentAutopilot.AscentPathClassic

krpc_MechJeb_AscentGuidance_ClassicPath()

AscentAutopilot.AscentPathPVG

krpc_MechJeb_AscentGuidance_PVGSettings()

AscentAutopilot.CorrectiveSteering

krpc_MechJeb_AscentSettings_CorrectiveSteering()

Through krpc_MechJeb_AscentGuidance_Settings()

AscentAutopilot.CorrectiveSteeringGain

krpc_MechJeb_AscentSettings_CorrectiveSteeringGain()

Through krpc_MechJeb_AscentGuidance_Settings()

AscentAutopilot.ForceRoll

krpc_MechJeb_AscentSettings_ForceRoll()

Through krpc_MechJeb_AscentGuidance_Settings()

AscentAutopilot.VerticalRoll

krpc_MechJeb_AscentSettings_VerticalRoll()

Through krpc_MechJeb_AscentGuidance_Settings()

AscentAutopilot.TurnRoll

krpc_MechJeb_AscentSettings_TurnRoll()

Through krpc_MechJeb_AscentGuidance_Settings()

AscentAutopilot.AutodeploySolarPanels

krpc_MechJeb_AscentSettings_AutodeploySolarPanels()

Through krpc_MechJeb_AscentGuidance_Settings()

AscentAutopilot.AutoDeployAntennas

krpc_MechJeb_AscentSettings_AutoDeployAntennas()

Through krpc_MechJeb_AscentGuidance_Settings()

AscentAutopilot.SkipCircularization

krpc_MechJeb_AscentSettings_SkipCircularization()

Through krpc_MechJeb_AscentGuidance_Settings()

AscentAutopilot.Autostage

krpc_MechJeb_AscentSettings_Autostage()

Through krpc_MechJeb_AscentGuidance_Settings()

AscentAutopilot.LimitAoA

krpc_MechJeb_AscentSettings_LimitAngleOfAttack()

Through krpc_MechJeb_AscentGuidance_Settings()

AscentAutopilot.MaxAoA

krpc_MechJeb_AscentSettings_MaxAngleOfAttack()

Through krpc_MechJeb_AscentGuidance_Settings()

AscentAutopilot.AoALimitFadeoutPressure

krpc_MechJeb_AscentSettings_AngleOfAttackLimitFadeoutPressure()

Through krpc_MechJeb_AscentGuidance_Settings()

AscentAutopilot.ThrustController

krpc_MechJeb_AscentSettings_Thrust()

AscentAutopilot.StagingController

krpc_MechJeb_AscentSettings_Staging()

AscentAutopilot.AscentPathGT

Removed

MechJeb 2.15 has no gravity turn path

AscentClassic

krpc_MechJeb_ClassicPath_t

Members keep their names

AscentPVG.DesiredApoapsis

krpc_MechJeb_AscentGuidance_DesiredApoapsis()

AscentPVG.AttachAltFlag

krpc_MechJeb_AscentGuidance_AttachAltFlag()

AscentPVG.DesiredAttachAlt

krpc_MechJeb_AscentGuidance_DesiredAttachAlt()

AscentPVG

krpc_MechJeb_PVGSettings_t

Its other members keep their names

AscentGT

Removed

MechJeb 2.15 has no gravity turn path

ThrustController

krpc_MechJeb_ThrustLimiter_t

Members keep their names

ThrustController.SmoothThrottle, ThrottleSmoothingTime

Removed

MechJeb 2.15 removed them

StagingController

krpc_MechJeb_Autostaging_t

Its other members keep their names

StagingController.AutostagingOnce

krpc_MechJeb_Autostaging_AutostageOnce()

krpc_MechJeb_Autostaging_AutostagingOnce() is read-only

NodeExecutor.ExecuteOneNode

krpc_MechJeb_ManeuverPlanner_ExecuteNextNode()

NodeExecutor.ExecuteAllNodes

krpc_MechJeb_ManeuverPlanner_ExecuteAllNodes()

NodeExecutor.Abort

krpc_MechJeb_ManeuverPlanner_AbortNodeExecution()

NodeExecutor.Enabled

krpc_MechJeb_ManeuverPlanner_ExecutingNode()

NodeExecutor.Autowarp

krpc_MechJeb_ManeuverPlanner_Autowarp()

NodeExecutor.LeadTime

krpc_MechJeb_ManeuverPlanner_LeadTime()

NodeExecutor.Tolerance

Removed

MechJeb 2.15 removed it

RCSController.RCSThrottle

krpc_MechJeb_SmartRCS_RCSThrottle()

RCSController.RCSForRotation

krpc_MechJeb_SmartRCS_RCSForRotation()

SmartRCS.RCSController

Removed

Its members are on krpc_MechJeb_SmartRCS_t

LandingAutopilot

krpc_MechJeb_LandingGuidance_t

Its other members keep their names

LandingAutopilot.RcsAdjustment

krpc_MechJeb_LandingGuidance_RCSAdjustment()

LandingAutopilot.LandAtPositionTarget

krpc_MechJeb_LandingGuidance_LandAtTarget()

LandingAutopilot.LandUntargeted

krpc_MechJeb_LandingGuidance_LandSomewhere()

LandingAutopilot.StopLanding

krpc_MechJeb_LandingGuidance_AbortAutoland()

TargetController.SetPositionTarget

krpc_MechJeb_LandingGuidance_SetTarget()

TargetController.PickPositionTargetOnMap

krpc_MechJeb_LandingGuidance_PickTargetOnMap()

TargetController.GetPositionTargetString

krpc_MechJeb_LandingGuidance_GetTargetString()

TargetController.GetPositionTargetPosition

krpc_MechJeb_LandingGuidance_GetTargetPosition()

AirplaneAutopilot

krpc_MechJeb_AircraftAutopilot_t

Members keep their names

Operation.MakeNode

krpc_MechJeb_OperationApoapsis_MakeNodes()

On each operation. It returns every node

OperationCourseCorrection.CourseCorrectFinalPeA

krpc_MechJeb_OperationCourseCorrection_FinalPeriapsisAltitude()

OperationTransfer.InterceptOnly

krpc_MechJeb_OperationTransfer_Capture()

The inverse

OperationTransfer.SimpleTransfer

krpc_MechJeb_OperationTransfer_Coplanar()

OperationTransfer.PeriodOffset

krpc_MechJeb_OperationTransfer_LagTime()

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

Members not listed keep their names and classes.