Fighting with pid loops. WIP.
This commit is contained in:
parent
a39f5fa328
commit
dd6f3d528b
7 changed files with 83 additions and 13 deletions
|
@ -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().
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue