One-command installer + guided setup: role detection, self-flying sign test v2
- install.lua: single entry point -- detects role from peripherals (flight sensors = autopilot, monitor = cockpit), installs, cleans legacy/removed files, then hands off straight into setup/standby. Ship state (sides/calib/target/settings) is never shipped; existing profiles can be kept or reset on re-install. - Sign test v2: fully self-driving -- staircase power search (learns hover), closed-loop climb, both-direction verification with auto- escalating nudge, controlled descent. Never freefalls, also not on Ctrl+T or abort. - Setup wizard (ap setup): wiring pulse-walk + sign test in one guided flow; offered automatically on first boot without a profile. - New launcher 'ap' (stabilizeV2 kept as case-safe identical aliases; removes Windows-host case-collision recursion risk). - build.sh: repo is source of truth; LC_ALL=C sorted manifests; optional --from-world/--to-world dev sync with exclude lists. - Removed legacy v1 files and per-ship state from the repo/manifest (26 -> 17 files in the autopilot role). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
10
files/autopilot/ap.lua
Normal file
10
files/autopilot/ap.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
-- ap.lua -- launcher for v3 observer-autopiloten i autopilot/.
|
||||
-- ap -> meny
|
||||
-- ap setup -> foerstegangs-wizard (wiring + sign test)
|
||||
-- ap fly -> full lukket sloyfe
|
||||
-- ap standby -> vent paa ENGAGE fra pilot-konsollen
|
||||
-- ap boot -> oppstartsvalg (wizard hvis profil mangler, ellers standby)
|
||||
-- ap monitor / manual / cal / observe / signtest / wiring
|
||||
local args = { ... }
|
||||
local unpack = table.unpack or unpack
|
||||
shell.run("autopilot/main", unpack(args))
|
||||
Reference in New Issue
Block a user