Skip to content

Releases: Genhis/KRPC.MechJeb

v0.7.0

30 Mar 22:09
Compare
Choose a tag to compare

Compatible with KSP 1.12, kRPC 0.5.4, MechJeb 2.14.3.0

Added

  • BankAngle, PitKp, PitKi, PitKd, RollLimit, PitchUpLimit, PitchDownLimit to AirplaneAutopilot
  • AttachAltFlag, DesiredAttachAlt, DynamicPressureTrigger, StagingTrigger, StagingTriggerFlag, FixedCoast, FixedCoastLength to AscentPVG

Changed

  • Updated for KSP 1.12 and kRPC 0.5.2
  • Updated AscentAutopilot and AirplaneAutopilot for MechJeb 2.14.3.0 (#15, #19) - some new fields may be missing

Removed

  • VertSpeedMax, RollMax, VerKp, VerKi, VerKd from AirplaneAutopilot (they were either renamed or removed from MechJeb2)
  • OmitCoast from AscentPVG (the autopilot was significantly reworked)

Fixed

  • AscentAutopilot#LaunchToTargetPlane used incorrect timing
  • Initialization of a MechJeb module was interrupted when one of its fields didn't exist anymore (#15)
  • MechJeb instance sometimes wasn't updated properly when switching vessels

Thanks to @mingmingrr for updating the two autopilots to latest MechJeb2.

v0.6.1

27 Jan 15:05
Compare
Choose a tag to compare

Compatible with KSP 1.8+, kRPC 0.4.8+, MechJeb 2.9.2.0+
Tested on KSP 1.11.0, kRPC 0.4.8, MechJeb 2.9.2.0

Fixed

  • AntennaController raised an exception when accessed
  • Target set in the same frame but before Operation#MakeNodes() call was not recorded properly in MakeNodes()
  • SmartASS properties SurfaceVelPitch and SurfaceVelRoll were modifying wrong variables (#15)

v0.6.0

25 May 07:13
Compare
Choose a tag to compare
v0.6.0 Pre-release
Pre-release

Compatible with KSP 1.8+, kRPC 0.4.8+, MechJeb 2.9.2.0+
Tested on KSP 1.9.1, kRPC 0.4.8, MechJeb 2.9.2.0

Added

  • LaunchMode property to AscentAutopilot to determine whether there is an ongoing timed launch
  • AbortTimedLaunch() method to AscentAutopilot to cancel any known timed launch before it starts
  • MakeNodes() method to ManeuverPlanner operations returning a list of nodes
  • Popup windows in main menu and flight screens showing initialization errors and unavailable API methods

Changed

  • AscentClassic property AutoPathPerc was renamed to AutoTurnPercent
  • AscentClassic property AutoPathSpeedFactor was renamed to AutoTurnSpeedFactor
  • All object instances (modules, windows, controllers and operations) are now permanent until you reset KSP, so you can cache them and reuse them for multiple flights which may be useful if your program switches between vessels

Deprecated

  • MakeNode() in ManeuverPlanner operations was replaced with MakeNodes()

Fixed

  • AscentClassic properties - AutoPathPerc and AutoPathSpeedFactor
  • ManeuverPlanner operations were not working in MechJeb v2.9.2.0+ (#10)
  • Translatron mode getter raised an exception

v0.5.1

16 Feb 16:08
Compare
Choose a tag to compare
v0.5.1 Pre-release
Pre-release

Compatible with KSP 1.7+, kRPC 0.4.8+, MechJeb 2.8.3.0-2.9.1.0
Tested on KSP 1.9.0, kRPC 0.4.8, MechJeb 2.9.1.0

Fixed

  • LaunchToRendezvous() and LaunchToTargetPlane() methods in AscentAutopilot (#8)

v0.5.0

11 Jun 15:41
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release

Compatible with KSP 1.7+, kRPC 0.4.8+, MechJeb 2.8.3.0-2.9.1.0
Tested on KSP 1.8.1, kRPC 0.4.8, MechJeb 2.9.1.0

Added

  • SmartASS window
  • Translatron window (#5)

Changed

Fixed

  • ValueError when setting enum properties (#4)
  • OperationEllipticize apoapsis field pointed to periapsis instead

v0.4.1

11 May 11:07
Compare
Choose a tag to compare
v0.4.1 Pre-release
Pre-release

Fixed

  • AutostageLimit property of StageController wasn't saved properly (#2)

v0.4.0

31 Mar 16:26
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

Added

  • Auto-hotstaging support in StageController

Changed

  • AscentPEG module overhaul (renamed to AscentPVG)
  • OperationTransfer changed from Hohmann to Bi-impulsive transfer

Fixed

  • AscentAutopilot raised an exception during initialization phase (#1) due to AscentPEG being renamed to AscentPVG (MuMech/MechJeb2@61c0ada)
  • DeployableController raised an exception during initialization phase

v0.3.0

14 Sep 22:37
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

Added

  • DeployableController for antennas and solar panels
  • SmartRCS window
  • ThrustController containing most of the settings from the Utilities window
  • LaunchToRendezvous() and LaunchToTargetPlane() methods to AscentAutopilot
  • AutostagingOnce property to StagingController

Removed

  • Setters of AutoTurnStartAltitude, AutoTurnStartVelocity, AutoTurnEndAltitude in AscentClassic - these
    properties should be read-only

Fixed

  • AscentAutopilot#DesiredInclination property didn't do anything
  • If ascent path editor was open while changing AscentPathIndex, the old window would not close and would report null ascent path

v0.2.0

07 Sep 10:54
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

Added

  • Missing CorrectiveSteering property in AscentAutopilot
  • C-nano client support

Changed

  • Operation#MakeNode() returns a Node object from SpaceCenter service

Removed

  • Enabled property is no longer accessible for:
    • AscentClassic, AscentGT and AscentPEG - it is handled internally when you set your ascent path for
      AscentAutopilot
    • NodeExecutor - only GET is accessible, so that you can test whether the module is still running
    • RCSController - it hasn't been fully implemented yet and it would have no or unknown effect
    • TargetController - the module is always enabled

Fixed

  • NullReferenceException was thrown when trying to set AscentPathIndex in AscentAutopilot
  • AscentAutopilot was not working properly when GUI wasn't visible
  • MechJeb instance was referring to wrong vessel in certain situations e.g. changing focus to another vessel in a close proximity or reverting a flight to launch

v0.1.0

26 Aug 11:16
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

Added

  • AirplaneAutopilot
  • AscentAutopilot with 3 ascent path options:
    • AscentClassic: Classic Ascent Profile
    • AscentGT: Stock-style GravityTurn™
    • AscentPEG: Powered Explicit Guidance (RSS/RO)
  • DockingAutopilot
  • LandingAutopilot
  • ManeuverPlanner with 16 operations:
    • OperationApoapsis
    • OperationCircularize
    • OperationCourseCorrection: Fine tune closest approach to target
    • OperationEllipticize: Change both periapsis and apoapsis
    • OperationInclination
    • OperationInterplanetaryTransfer
    • OperationKillRelVel: Match velocities with target
    • OperationLambert: Intercept target at chosen time
    • OperationLan: Change longitude of ascending node
    • OperationLongitude: Change surface longitude of apsis
    • OperationMoonReturn
    • OperationPeriapsis
    • OperationPlane: Match planes with target
    • OperationResonantOrbit
    • OperationSemiMajor
    • OperationTransfer: Hohmann transfer to target
    • TimeSelector class to set starting time of maneuvers
  • NodeExecutor
  • RCSController (basic implementation)
  • RendezvousAutopilot
  • StagingController
  • TargetController to get information about the current target