Skip to content

Staging and Modules

The ctl/ directory has vessel-wide controls. Module directories are the per-part view. They only appear when the vessel has that kind of module, which is rather better than a lie-filled directory.

Terminal window
# One-shot: activates the next KSA stage.
echo 1 > /sim/vessels/active/ctl/stage
# Master switches, then individual fitted modules.
echo 1 > /sim/vessels/active/ctl/lights
ls /sim/vessels/active/lights
cat /sim/vessels/active/lights/0/on
echo 0 > /sim/vessels/active/lights/0/on
ls /sim/vessels/active/engines
cat /sim/vessels/active/engines/0/active

stage is a one-shot, so firing it again while KSA cannot advance returns EBUSY. Do not use a shell glob with > to fan out a command: redirection wants exactly one target. You will meet the proper same-tick fan-out tool in Atomic batches.

Next, let the onboard computer do some steering: Attitude modes.