Pass TWR in to launch function so it actually has an effect.

This commit is contained in:
Anna Rose 2021-08-04 23:05:05 -04:00
parent 20da3947d9
commit 102786b79b
2 changed files with 3 additions and 3 deletions

View File

@ -4,13 +4,12 @@ runoncepath("lib/node").
function Launch { function Launch {
parameter APOAPSIS_TARGET is 80000. parameter APOAPSIS_TARGET is 80000.
parameter ATMO_TWR is 1.6.
parameter GRAVITY_TURN_START is 8000. parameter GRAVITY_TURN_START is 8000.
parameter GRAVITY_PITCH is 75. parameter GRAVITY_PITCH is 75.
parameter INITIAL_PITCH is 85. parameter INITIAL_PITCH is 85.
parameter MINIMUM_PITCH is 5. parameter MINIMUM_PITCH is 5.
local ATMO_TWR is 1.6.
// Configure subsystems. // Configure subsystems.
RCS off. RCS off.
SAS off. SAS off.

View File

@ -94,8 +94,9 @@ row:AddLabel("Gravity Turn Pitch").
local gravPitch is row:AddTextField("75"). local gravPitch is row:AddTextField("75").
makeButton(top, "Execute", { makeButton(top, "Execute", {
Launch( Launch(
targetApo:TEXT:ToNumber(), targetApo:TEXT:ToNumber(),
targetTWR:TEXT:ToNumber(),
gravTurnStart:TEXT:ToNumber(), gravTurnStart:TEXT:ToNumber(),
gravPitch:TEXT:ToNumber(), gravPitch:TEXT:ToNumber(),
initialPitch:TEXT:ToNumber(), initialPitch:TEXT:ToNumber(),