Pass TWR in to launch function so it actually has an effect.
This commit is contained in:
parent
20da3947d9
commit
102786b79b
|
@ -4,13 +4,12 @@ runoncepath("lib/node").
|
|||
|
||||
function Launch {
|
||||
parameter APOAPSIS_TARGET is 80000.
|
||||
parameter ATMO_TWR is 1.6.
|
||||
parameter GRAVITY_TURN_START is 8000.
|
||||
parameter GRAVITY_PITCH is 75.
|
||||
parameter INITIAL_PITCH is 85.
|
||||
parameter MINIMUM_PITCH is 5.
|
||||
|
||||
local ATMO_TWR is 1.6.
|
||||
|
||||
// Configure subsystems.
|
||||
RCS off.
|
||||
SAS off.
|
||||
|
|
|
@ -94,8 +94,9 @@ row:AddLabel("Gravity Turn Pitch").
|
|||
local gravPitch is row:AddTextField("75").
|
||||
|
||||
makeButton(top, "Execute", {
|
||||
Launch(
|
||||
Launch(
|
||||
targetApo:TEXT:ToNumber(),
|
||||
targetTWR:TEXT:ToNumber(),
|
||||
gravTurnStart:TEXT:ToNumber(),
|
||||
gravPitch:TEXT:ToNumber(),
|
||||
initialPitch:TEXT:ToNumber(),
|
||||
|
|
Loading…
Reference in New Issue
Block a user