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.
# 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/lightsls /sim/vessels/active/lightscat /sim/vessels/active/lights/0/onecho 0 > /sim/vessels/active/lights/0/on
ls /sim/vessels/active/enginescat /sim/vessels/active/engines/0/activecurl -X POST --data '1' http://127.0.0.1:4242/v1/fs/vessels/active/ctl/stagecurl -X POST --data '1' http://127.0.0.1:4242/v1/fs/vessels/active/ctl/lightscurl http://127.0.0.1:4242/v1/fs/vessels/active/lights/0/oncurl -X POST --data '0' http://127.0.0.1:4242/v1/fs/vessels/active/lights/0/onstage 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.
Next: Attitude modesAsk KSA's flight computer to keep a named orientation for you.