Refactor reentry into a library and make it usable by rocket.ks
This commit is contained in:
parent
bbf1d118e3
commit
b8f6e90e1f
5 changed files with 43 additions and 21 deletions
|
@ -6,6 +6,7 @@ runoncepath("/lib/throttle").
|
|||
runoncepath("/lib/stabilize_rocket").
|
||||
runoncepath("/lib/launch_rocket").
|
||||
runoncepath("/lib/sensors").
|
||||
runoncepath("/lib/reentry").
|
||||
|
||||
clearguis().
|
||||
|
||||
|
@ -71,6 +72,17 @@ MakeMenu(
|
|||
}
|
||||
).
|
||||
|
||||
MakeMenu(
|
||||
stk,
|
||||
MakeButton(rows[1], "REENTRY"),
|
||||
List(),
|
||||
"Execute",
|
||||
{
|
||||
parameter options.
|
||||
PerformReentry().
|
||||
}
|
||||
).
|
||||
|
||||
MakeButton(rows[1], "HOVER", { Hover(). }).
|
||||
MakeButton(rows[1], "LAND", { Land(). }).
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue