31 lines
652 B
Plaintext
31 lines
652 B
Plaintext
@lazyglobal off.
|
|
wait until ship:unpacked.
|
|
rcs off.
|
|
|
|
runoncepath("0:/lib/common.ks").
|
|
runoncepath("0:/lib/stage/thor.ks").
|
|
runoncepath("0:/lib/stage/able.ks").
|
|
|
|
local target_inclination is 55.
|
|
local target_alt is 1_050_000.
|
|
local target_ecc is 0.0029.
|
|
local hdg is launch_azimuth(target_inclination, target_alt).
|
|
|
|
thor:launch(hdg, target_alt, 5).
|
|
stage.
|
|
able:yeet(hdg, target_alt).
|
|
able:power_down().
|
|
wait 1.
|
|
set warpmode to "rails".
|
|
set warp to 2.
|
|
wait until eta:apoapsis < 180.
|
|
set warp to 1.
|
|
wait until eta:apoapsis < 150.
|
|
set warp to 0.
|
|
wait 1.
|
|
wait until kuniverse:timewarp:issettled.
|
|
able:power_up().
|
|
able:circularize(target_ecc).
|
|
wait 1.
|
|
stage.
|