<?xml version="1.0" encoding="UTF-8"?>

<system name="crash-detect">

  <channel name="impact-ground">

    <switch name="impact">
      <test logic="AND" value="1">
        gear/gear-pos-norm == 1.0
        position/h-agl-ft lt 7.2
	position/h-agl-ft gt 1.0   <!-- between EHAM and England there is h-agl-ft to 0 -->
        simulation/sim-time-sec gt 1.0
      </test>
      <test logic="AND" value="1">
        gear/gear-pos-norm lt 1.0
        position/h-agl-ft lt 2.0
	position/h-agl-ft gt 1.0   <!-- between EHAM and England there is h-agl-ft to 0 -->
        simulation/sim-time-sec gt 1.0
      </test>
      <output>systems/crash-detect/crash-on-ground</output>
    </switch>

  </channel>

</system>
