KSP 1.9
Problem 1. Sometimes, after using of the autopilot, I loose ability to control the ship - it ignores all the control buttons even if disable the autopilot.
var wnd = new ui.window false, ui.layout.vertical
var stab = false
var vv = 10
wnd.x -= (unity.screen.width - 200) / 3
wnd.title = "Kill H/s"
def autoUp
stab = true
def autoOff
stab = false
autopilot.disable()
var btnUp = wnd.addButton "ON", autoUp
var btnOff = wnd.addButton "OFF", autoOff
btnUp.width = 120
btnOff.width = 120
wnd.visible = true
try
while true
if stab
var hv = ship.srfvel.projectOnPlane ship.away
autopilot.direction = ship.away * vv - hv
wait
finally
wnd.dispose()
Problem 2. When the autopilot is enabled I cannot correct the ship orientation manually - all my commands are ignored. It is contrintuitive. MechJeb2 Translation Tool allows manual corrections.