More refactoring.
This commit is contained in:
parent
e0d1c34b46
commit
deb46a6430
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
**/*.ksm
|
|
@ -1,13 +1,10 @@
|
||||||
// rocketOS bootstrapping sequence
|
// rocketOS bootstrapping sequence
|
||||||
|
|
||||||
// Install software.
|
// Install software.
|
||||||
compile "0:/os/rocketos" to "1:/boot/rocketos".
|
runpath("0:/bootstrap/rocket").
|
||||||
compile "0:/lib/navigation" to "1:/lib/navigation".
|
|
||||||
compile "0:/lib/throttle" to "1:/lib/throttle".
|
|
||||||
compile "0:/launch" to "1:/launch".
|
|
||||||
compile "0:/nextnode" to "1:/nextnode".
|
|
||||||
|
|
||||||
// Set OS to boot and restart.
|
// Set OS to boot and restart.
|
||||||
set core:bootfilename to "boot/rocketos".
|
set core:bootfilename to "/ui/rocket".
|
||||||
|
|
||||||
|
deletepath("/boot/rocket").
|
||||||
reboot.
|
reboot.
|
||||||
|
|
5
bootstrap/rocket.ks
Normal file
5
bootstrap/rocket.ks
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
compile "0:/ui/rocket" to "1:/ui/rocket".
|
||||||
|
compile "0:/lib/navigation" to "1:/lib/navigation".
|
||||||
|
compile "0:/lib/throttle" to "1:/lib/throttle".
|
||||||
|
compile "0:/launch" to "1:/launch".
|
||||||
|
copypath("0:/nextnode", "1:/nextnode"). // smaller when compiled
|
|
@ -70,7 +70,7 @@ until SHIP:ORBIT:APOAPSIS > 80000 {
|
||||||
|
|
||||||
SHIP:ADD(CreateCircularizationNode(SHIP:ORBIT:ETA:APOAPSIS)).
|
SHIP:ADD(CreateCircularizationNode(SHIP:ORBIT:ETA:APOAPSIS)).
|
||||||
|
|
||||||
print "Releasing controls. Good luck, Kerman!".
|
print "Releasing controls. Circularization maneuver added. Good luck, Kerman!".
|
||||||
set SHIP:CONTROL:PILOTMAINTHROTTLE to 0.
|
set SHIP:CONTROL:PILOTMAINTHROTTLE to 0.
|
||||||
unlock THROTTLE.
|
unlock THROTTLE.
|
||||||
unlock STEERING.
|
unlock STEERING.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user