aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/lib.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-11-26 04:37:24 +0300
committerValentin Popov <valentin@popov.link>2026-11-26 04:37:24 +0300
commit6ed1829936f23c92b9aec24e0eef6884876bb99b (patch)
treef138985c80f47df1d5440dd501590f7e083476da /crates/fparkan-runtime/src/lib.rs
parent52a7977710508d31440d94a2d5ae345116e11448 (diff)
downloadfparkan-6ed1829936f23c92b9aec24e0eef6884876bb99b.tar.xz
fparkan-6ed1829936f23c92b9aec24e0eef6884876bb99b.zip
feat(movement): let autonomous flyers climb above terrain
Feed verified CanFly profiles into the shared route follower. A flyer spends movement time climbing to clear its hull before advancing, checks the terrain along the proposed leg and retains world altitude over lower ground. Ground units keep their terrain-following step. Covered takeoff, an intermediate ridge and a valley in route tests. Confirmed a stock AutoDemo flyer takes off and travels, observed the airborne scene with clean Vulkan validation, and ran the 29-mission simulation corpus. Descent and altitude-aware obstacle avoidance remain open.
Diffstat (limited to 'crates/fparkan-runtime/src/lib.rs')
-rw-r--r--crates/fparkan-runtime/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/fparkan-runtime/src/lib.rs b/crates/fparkan-runtime/src/lib.rs
index e27d9c18..d8eaf7f6 100644
--- a/crates/fparkan-runtime/src/lib.rs
+++ b/crates/fparkan-runtime/src/lib.rs
@@ -75,6 +75,7 @@ mod clan_script_init;
mod clan_targeting;
mod construction;
mod construction_site;
+mod flight_altitude;
mod laboratory;
use behavior_clock::next_crt_rand;
mod mesh_collision;