Fighting with pid loops. WIP.
This commit is contained in:
@ -61,7 +61,7 @@ wait 0.001. // make sure these control updates get applied
|
||||
|
||||
print "Target apoapsis acquired. Creating maneuver node.".
|
||||
add CreateCircularizationNode().
|
||||
runpath("/rocket/execnode").
|
||||
runpath("/execnode").
|
||||
print "Orbit acquired. Releasing controls. Good luck, Kerman.".
|
||||
unlock THROTTLE.
|
||||
unlock STEERING.
|
||||
|
@ -8,7 +8,7 @@ function launchButtonPressed {
|
||||
local oldStopTime is STEERINGMANAGER:MAXSTOPPINGTIME.
|
||||
set STEERINGMANAGER:MAXSTOPPINGTIME to maxStopTime:TEXT:ToNumber().
|
||||
|
||||
run "/rocket/launch"(
|
||||
run "/launch"(
|
||||
targetApo:TEXT:ToNumber(),
|
||||
gravTurnStart:TEXT:ToNumber(),
|
||||
gravPitch:TEXT:ToNumber(),
|
||||
@ -51,7 +51,7 @@ set x:AddButton("LNCH"):onClick to {
|
||||
stk:ShowOnly(launchmenu).
|
||||
}.
|
||||
set x:AddButton("NODE"):onClick to {
|
||||
run "/rocket/execnode".
|
||||
run "/execnode".
|
||||
}.
|
||||
|
||||
local stk is interface:AddStack().
|
||||
|
Reference in New Issue
Block a user