Checks terrain/obstacle prediction using the production scene adapter and stability scenarios.
Subsystem: Avionics, navigation and flight guidance
Fixture/harness: terrainawarenessscenetests
Setup: Explicit setup symbols: Fixture, FixtureZone. The standalone TerrainAwarenessSceneTests harness owns the inputs, local helpers and assertion sink used by the case files below. Fixture is scoped to this harness; similarly named fixtures in other executables are independent.
Build/entry point: Tests/TerrainAwarenessSceneTests.vcxproj; declared configurations: Debug|Win32, Release|Win32, Release|x64.
TerrainAlertStabilitySceneTests.h
Source: Tests/TerrainAlertStabilitySceneTests.h
Terrain Alert Stability Scene Regressions
Fixture: Terrain Awareness Scene tests
Case symbol: TerrainAlertStabilitySceneRegressions
Source: Tests/TerrainAlertStabilitySceneTests.h:1
- Test
- Terrain Alert Stability Scene Regressions: descent toward flat terrain creates the video-like caution; production descent jitter keeps map, range and alert stable in manual and Autoflyte flight; brief safe correction retains the display.
Source check messages (including original failure wording)
-
descent toward flat terrain creates the video-like caution
-
production descent jitter keeps map, range and alert stable in manual and Autoflyte flight
-
brief safe correction retains the display
-
sustained production clearance restores the prior range
-
a new encounter re-arms immediately
-
new obstacle warning immediately outranks held terrain caution
-
reset scenario starts with an active threat
-
physical exclusion, hover, data loss or vehicle change clears retained threats immediately
-
re-entry to an eligible state cannot revive old history
-
fresh threat after exclusion is immediate
-
orbital coast retains the existing predictive suspension
-
high-speed ascent stays suspended above the global hazard bound
-
suborbital descending path re-arms before entering the height boundary
-
fast re-entry warns immediately for known terrain despite range-limited data and low IAS
TerrainAwarenessSceneTests.cpp
Source: Tests/TerrainAwarenessSceneTests.cpp
Entry-point checks
Fixture: Terrain Awareness Scene tests
Case symbol: main
Source: Tests/TerrainAwarenessSceneTests.cpp:128
- Test
- Entry-point checks: actual scene adapter reports full flat corridor; each scheduled turn refreshes terrain without an independent 0.2-second gate; streamed tower ahead triggers obstacle warning using ground-relative velocity.
Source check messages (including original failure wording)
-
actual scene adapter reports full flat corridor
-
safe flat flight is quiet
-
each scheduled turn refreshes terrain without an independent 0.2-second gate
-
streamed tower ahead triggers obstacle warning using ground-relative velocity
-
individual obstacle reaches map
-
vehicle change invalidates old speech even when the new hazard is identical
-
off-track structure stays quiet
-
ground-level pavement is not an obstacle
-
non-solid crop components excluded
-
unreceived colony layout is unknown
-
surface triangles ahead detect a ridge
-
the specific hazardous cell is highlighted
-
missing received elevation does not count as safe
-
loading clears threats and shows unavailable coverage
-
simulator admission clears production scene
-
real-world scene reacquired after simulator
-
GPU rebuild retains known hazards despite geometryReady being false
-
hover retains map without invented forward collision
-
coarse outer cells complete a corridor beyond the inner patch
-
outer elevation is valid without fine subdivisions
-
high-speed 60-second / 8-nm warning scans new distant ridge is scanned immediately before graphics rebuild
-
changed grid identities rescan on the next module turn
-
missing streamed row invalidates only dependent cells
-
departure fixture has a mountain and tower on flight path
-
ground transition retains terrain and building data but clears predictive threats immediately
-
mountain remains relative red while aircraft is on the ground
-
taxi speed cannot trigger airborne predictive warnings
-
liftoff immediately re-enables the actual threat scan
-
missing building provider reports incomplete data without dereferencing null
-
fresh fine interpolation peak is used instead of coarse corner maximum
-
fine/coarse seam follows renderer midpoints
-
colony obstacle is encountered before terrain farther along the descent
-
equal-severity terrain retains guide priority in both map label and audio
-
Lancaster-like descent recognizes a received aligned runway without selecting it
-
selected runway limits look-down at 9.3 km instead of extrapolating through the field
-
normal hand-flown approach with gear still up receives the same runway-aware ribbon
-
low buildings below the approach ribbon do not generate nuisance cautions
-
tower penetrating a high-speed approach gets extended obstacle warning and matching map label
-
intervening ridge still warns during a recognized runway approach
-
normal approach stays quiet from ten nautical miles through flare and runway threshold
-
an obstruction on the runway is not exempted with the landing surface
-
runway length beyond five km cannot truncate protection before the actual runway end
-
aligned received runway is inferred even without a selected waypoint
-
go-around removes the expected-landing limit
-
simulator entry clears the runway-aware prediction state
-
Lancaster runway is inferred without an explicitly selected waypoint
-
runway-relative ribbon also handles Lancaster's 5974 m field elevation
-
100 km does not announce unavailable terrain data
-
rapid descent re-arms above 17 km before terrain is loaded
-
level flight above the global obstacle bound suspends prediction
-
descending through the level-flight cutoff restores data annunciation
-
hysteresis prevents chatter around the suspension boundary
-
climb beyond the hysteresis band suspends prediction
-
normal continuous 3-degree approach has no reactive, TCF/RFCF or predictive hazard warning
-
known high-altitude Peaks data remains while predictive corridor is suspended
-
position invalidity inhibits TAD with an explicit input fault
-
rotated track and coarse/fine/edge rows retain all towers and reject pavement
-
row rejection never leaves pavement classified as an obstacle