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

ascent_guidance()

MechJeb.AirplaneAutopilot

aircraft_autopilot()

MechJeb.LandingAutopilot

landing_guidance()

MechJeb.ThrustController

Utilities::thrust()

MechJeb.StagingController

Utilities::staging()

MechJeb.SolarPanelController

Utilities::solar_panels()

MechJeb.AntennaController

Utilities::antennas()

MechJeb.NodeExecutor

maneuver_planner()

Its members move to the maneuver planner, below

MechJeb.RCSController

smart_rcs()

Its members move to Smart RCS, below

MechJeb.APIReady

available() and ready()

AscentAutopilot.Enabled

AscentGuidance::enabled()

AscentAutopilot.Status

AscentGuidance::status()

AscentAutopilot.DesiredOrbitAltitude

AscentGuidance::desired_orbit_altitude()

AscentAutopilot.DesiredInclination

AscentGuidance::desired_inclination()

AscentAutopilot.LaunchPhaseAngle

AscentGuidance::launch_phase_angle()

AscentAutopilot.LaunchLANDifference

AscentGuidance::launch_lan_difference()

AscentAutopilot.WarpCountDown

AscentGuidance::warp_count_down()

AscentAutopilot.LaunchMode

AscentGuidance::launch_mode()

AscentAutopilot.AbortTimedLaunch

AscentGuidance::abort_timed_launch()

AscentAutopilot.LaunchToRendezvous

AscentGuidance::launch_to_rendezvous()

AscentAutopilot.LaunchToTargetPlane

AscentGuidance::launch_to_target_plane()

AscentAutopilot.AscentPathIndex

AscentGuidance::ascent_type()

0 is AscentType::classic and 2 is AscentType::pvg

AscentAutopilot.AscentPathClassic

AscentGuidance::classic_path()

AscentAutopilot.AscentPathPVG

AscentGuidance::pvg_settings()

AscentAutopilot.CorrectiveSteering

AscentSettings::corrective_steering()

Through AscentGuidance::settings()

AscentAutopilot.CorrectiveSteeringGain

AscentSettings::corrective_steering_gain()

Through AscentGuidance::settings()

AscentAutopilot.ForceRoll

AscentSettings::force_roll()

Through AscentGuidance::settings()

AscentAutopilot.VerticalRoll

AscentSettings::vertical_roll()

Through AscentGuidance::settings()

AscentAutopilot.TurnRoll

AscentSettings::turn_roll()

Through AscentGuidance::settings()

AscentAutopilot.AutodeploySolarPanels

AscentSettings::autodeploy_solar_panels()

Through AscentGuidance::settings()

AscentAutopilot.AutoDeployAntennas

AscentSettings::auto_deploy_antennas()

Through AscentGuidance::settings()

AscentAutopilot.SkipCircularization

AscentSettings::skip_circularization()

Through AscentGuidance::settings()

AscentAutopilot.Autostage

AscentSettings::autostage()

Through AscentGuidance::settings()

AscentAutopilot.LimitAoA

AscentSettings::limit_angle_of_attack()

Through AscentGuidance::settings()

AscentAutopilot.MaxAoA

AscentSettings::max_angle_of_attack()

Through AscentGuidance::settings()

AscentAutopilot.AoALimitFadeoutPressure

AscentSettings::angle_of_attack_limit_fadeout_pressure()

Through AscentGuidance::settings()

AscentAutopilot.ThrustController

AscentSettings::thrust()

AscentAutopilot.StagingController

AscentSettings::staging()

AscentAutopilot.AscentPathGT

Removed

MechJeb 2.15 has no gravity turn path

AscentClassic

ClassicPath

Members keep their names

AscentPVG.DesiredApoapsis

AscentGuidance::desired_apoapsis()

AscentPVG.AttachAltFlag

AscentGuidance::attach_alt_flag()

AscentPVG.DesiredAttachAlt

AscentGuidance::desired_attach_alt()

AscentPVG

PVGSettings

Its other members keep their names

AscentGT

Removed

MechJeb 2.15 has no gravity turn path

ThrustController

ThrustLimiter

Members keep their names

ThrustController.SmoothThrottle, ThrottleSmoothingTime

Removed

MechJeb 2.15 removed them

StagingController

Autostaging

Its other members keep their names

StagingController.AutostagingOnce

Autostaging::autostage_once()

Autostaging::autostaging_once() is read-only

NodeExecutor.ExecuteOneNode

ManeuverPlanner::execute_next_node()

NodeExecutor.ExecuteAllNodes

ManeuverPlanner::execute_all_nodes()

NodeExecutor.Abort

ManeuverPlanner::abort_node_execution()

NodeExecutor.Enabled

ManeuverPlanner::executing_node()

NodeExecutor.Autowarp

ManeuverPlanner::autowarp()

NodeExecutor.LeadTime

ManeuverPlanner::lead_time()

NodeExecutor.Tolerance

Removed

MechJeb 2.15 removed it

RCSController.RCSThrottle

SmartRCS::rcs_throttle()

RCSController.RCSForRotation

SmartRCS::rcs_for_rotation()

SmartRCS.RCSController

Removed

Its members are on SmartRCS

LandingAutopilot

LandingGuidance

Its other members keep their names

LandingAutopilot.RcsAdjustment

LandingGuidance::rcs_adjustment()

LandingAutopilot.LandAtPositionTarget

LandingGuidance::land_at_target()

LandingAutopilot.LandUntargeted

LandingGuidance::land_somewhere()

LandingAutopilot.StopLanding

LandingGuidance::abort_autoland()

TargetController.SetPositionTarget

LandingGuidance::set_target()

TargetController.PickPositionTargetOnMap

LandingGuidance::pick_target_on_map()

TargetController.GetPositionTargetString

LandingGuidance::get_target_string()

TargetController.GetPositionTargetPosition

LandingGuidance::get_target_position()

AirplaneAutopilot

AircraftAutopilot

Members keep their names

Operation.MakeNode

OperationApoapsis::make_nodes()

On each operation. It returns every node

OperationCourseCorrection.CourseCorrectFinalPeA

OperationCourseCorrection::final_periapsis_altitude()

OperationTransfer.InterceptOnly

OperationTransfer::capture()

The inverse

OperationTransfer.SimpleTransfer

OperationTransfer::coplanar()

OperationTransfer.PeriodOffset

OperationTransfer::lag_time()

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

Members not listed keep their names and classes.