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.ascent_guidance

MechJeb.AirplaneAutopilot

MechJeb.aircraft_autopilot

MechJeb.LandingAutopilot

MechJeb.landing_guidance

MechJeb.ThrustController

MechJeb.Utilities.thrust

MechJeb.StagingController

MechJeb.Utilities.staging

MechJeb.SolarPanelController

MechJeb.Utilities.solar_panels

MechJeb.AntennaController

MechJeb.Utilities.antennas

MechJeb.NodeExecutor

MechJeb.maneuver_planner

Its members move to the maneuver planner, below

MechJeb.RCSController

MechJeb.smart_rcs

Its members move to Smart RCS, below

MechJeb.APIReady

MechJeb.available and MechJeb.ready

AscentAutopilot.Enabled

MechJeb.AscentGuidance.enabled

AscentAutopilot.Status

MechJeb.AscentGuidance.status

AscentAutopilot.DesiredOrbitAltitude

MechJeb.AscentGuidance.desired_orbit_altitude

AscentAutopilot.DesiredInclination

MechJeb.AscentGuidance.desired_inclination

AscentAutopilot.LaunchPhaseAngle

MechJeb.AscentGuidance.launch_phase_angle

AscentAutopilot.LaunchLANDifference

MechJeb.AscentGuidance.launch_lan_difference

AscentAutopilot.WarpCountDown

MechJeb.AscentGuidance.warp_count_down

AscentAutopilot.LaunchMode

MechJeb.AscentGuidance.launch_mode

AscentAutopilot.AbortTimedLaunch

MechJeb.AscentGuidance:abort_timed_launch()

AscentAutopilot.LaunchToRendezvous

MechJeb.AscentGuidance:launch_to_rendezvous()

AscentAutopilot.LaunchToTargetPlane

MechJeb.AscentGuidance:launch_to_target_plane()

AscentAutopilot.AscentPathIndex

MechJeb.AscentGuidance.ascent_type

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

AscentAutopilot.AscentPathClassic

MechJeb.AscentGuidance.classic_path

AscentAutopilot.AscentPathPVG

MechJeb.AscentGuidance.pvg_settings

AscentAutopilot.CorrectiveSteering

MechJeb.AscentSettings.corrective_steering

Through MechJeb.AscentGuidance.settings

AscentAutopilot.CorrectiveSteeringGain

MechJeb.AscentSettings.corrective_steering_gain

Through MechJeb.AscentGuidance.settings

AscentAutopilot.ForceRoll

MechJeb.AscentSettings.force_roll

Through MechJeb.AscentGuidance.settings

AscentAutopilot.VerticalRoll

MechJeb.AscentSettings.vertical_roll

Through MechJeb.AscentGuidance.settings

AscentAutopilot.TurnRoll

MechJeb.AscentSettings.turn_roll

Through MechJeb.AscentGuidance.settings

AscentAutopilot.AutodeploySolarPanels

MechJeb.AscentSettings.autodeploy_solar_panels

Through MechJeb.AscentGuidance.settings

AscentAutopilot.AutoDeployAntennas

MechJeb.AscentSettings.auto_deploy_antennas

Through MechJeb.AscentGuidance.settings

AscentAutopilot.SkipCircularization

MechJeb.AscentSettings.skip_circularization

Through MechJeb.AscentGuidance.settings

AscentAutopilot.Autostage

MechJeb.AscentSettings.autostage

Through MechJeb.AscentGuidance.settings

AscentAutopilot.LimitAoA

MechJeb.AscentSettings.limit_angle_of_attack

Through MechJeb.AscentGuidance.settings

AscentAutopilot.MaxAoA

MechJeb.AscentSettings.max_angle_of_attack

Through MechJeb.AscentGuidance.settings

AscentAutopilot.AoALimitFadeoutPressure

MechJeb.AscentSettings.angle_of_attack_limit_fadeout_pressure

Through MechJeb.AscentGuidance.settings

AscentAutopilot.ThrustController

MechJeb.AscentSettings.thrust

AscentAutopilot.StagingController

MechJeb.AscentSettings.staging

AscentAutopilot.AscentPathGT

Removed

MechJeb 2.15 has no gravity turn path

AscentClassic

MechJeb.ClassicPath

Members keep their names

AscentPVG.DesiredApoapsis

MechJeb.AscentGuidance.desired_apoapsis

AscentPVG.AttachAltFlag

MechJeb.AscentGuidance.attach_alt_flag

AscentPVG.DesiredAttachAlt

MechJeb.AscentGuidance.desired_attach_alt

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:autostage_once()

MechJeb.Autostaging.autostaging_once is read-only

NodeExecutor.ExecuteOneNode

MechJeb.ManeuverPlanner:execute_next_node()

NodeExecutor.ExecuteAllNodes

MechJeb.ManeuverPlanner:execute_all_nodes()

NodeExecutor.Abort

MechJeb.ManeuverPlanner:abort_node_execution()

NodeExecutor.Enabled

MechJeb.ManeuverPlanner.executing_node

NodeExecutor.Autowarp

MechJeb.ManeuverPlanner.autowarp

NodeExecutor.LeadTime

MechJeb.ManeuverPlanner.lead_time

NodeExecutor.Tolerance

Removed

MechJeb 2.15 removed it

RCSController.RCSThrottle

MechJeb.SmartRCS.rcs_throttle

RCSController.RCSForRotation

MechJeb.SmartRCS.rcs_for_rotation

SmartRCS.RCSController

Removed

Its members are on MechJeb.SmartRCS

LandingAutopilot

MechJeb.LandingGuidance

Its other members keep their names

LandingAutopilot.RcsAdjustment

MechJeb.LandingGuidance.rcs_adjustment

LandingAutopilot.LandAtPositionTarget

MechJeb.LandingGuidance:land_at_target()

LandingAutopilot.LandUntargeted

MechJeb.LandingGuidance:land_somewhere()

LandingAutopilot.StopLanding

MechJeb.LandingGuidance:abort_autoland()

TargetController.SetPositionTarget

MechJeb.LandingGuidance:set_target()

TargetController.PickPositionTargetOnMap

MechJeb.LandingGuidance:pick_target_on_map()

TargetController.GetPositionTargetString

MechJeb.LandingGuidance:get_target_string()

TargetController.GetPositionTargetPosition

MechJeb.LandingGuidance:get_target_position()

AirplaneAutopilot

MechJeb.AircraftAutopilot

Members keep their names

Operation.MakeNode

MechJeb.OperationApoapsis:make_nodes()

On each operation. It returns every node

OperationCourseCorrection.CourseCorrectFinalPeA

MechJeb.OperationCourseCorrection.final_periapsis_altitude

OperationTransfer.InterceptOnly

MechJeb.OperationTransfer.capture

The inverse

OperationTransfer.SimpleTransfer

MechJeb.OperationTransfer.coplanar

OperationTransfer.PeriodOffset

MechJeb.OperationTransfer.lag_time

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

Members not listed keep their names and classes.