<xml xmlns="https://developers.google.com/blockly/xml">
  <variables>
    <variable id="geometry_var_beamHeading">beamHeading</variable>
    <variable id="geometry_var_classification">classification</variable>
    <variable id="geometry_var_geometry">geometry</variable>
    <variable id="geometry_var_geometryValid">geometryValid</variable>
    <variable id="geometry_var_heading">heading</variable>
    <variable id="geometry_var_hitKnown">hitKnown</variable>
    <variable id="geometry_var_hitX">hitX</variable>
    <variable id="geometry_var_hitY">hitY</variable>
    <variable id="geometry_var_lookupCount">lookupCount</variable>
    <variable id="geometry_var_lookupResult">lookupResult</variable>
    <variable id="geometry_var_matchedKey">matchedKey</variable>
    <variable id="geometry_var_matches">matches</variable>
    <variable id="geometry_var_mountForward">mountForward</variable>
    <variable id="geometry_var_mountLeft">mountLeft</variable>
    <variable id="geometry_var_mountValid">mountValid</variable>
    <variable id="geometry_var_mountYaw">mountYaw</variable>
    <variable id="geometry_var_poseSkewMs">poseSkewMs</variable>
    <variable id="geometry_var_poseValid">poseValid</variable>
    <variable id="geometry_var_rangeInches">rangeInches</variable>
    <variable id="geometry_var_rangeValid">rangeValid</variable>
    <variable id="geometry_var_record">record</variable>
    <variable id="geometry_var_recordIndex">recordIndex</variable>
    <variable id="geometry_var_robotX">robotX</variable>
    <variable id="geometry_var_robotY">robotY</variable>
    <variable id="geometry_var_sampleAgeMs">sampleAgeMs</variable>
    <variable id="geometry_var_sensorX">sensorX</variable>
    <variable id="geometry_var_sensorY">sensorY</variable>
    <variable id="geometry_var_tolerance">tolerance</variable>
    <variable id="geometry_var_wantedKey">wantedKey</variable>
  </variables>
  <block type="procedures_defnoreturn" id="geometry_7" x="25" y="125" deletable="false">
    <field name="NAME">runOpMode</field>
    <statement name="STACK">
      <block type="comment" id="student_geometry_frame">
        <field name="COMMENT">A CENTERED PRACTICE FIELD
Paper-only, disabled, no motors. Inches; center (0,0); +X east/right on the drawing, +Y north/up. Heading 0 faces +X; positive heading is counterclockwise. All dimensions and hardware names here are fictional teaching inputs.</field>
        <next>
          <block type="linearOpMode_waitForStart" id="geometry_1">
            <next>
              <block type="procedures_callnoreturn" id="geometry_2">
                <mutation name="buildGeometry" />
                <next>
                  <block type="procedures_callnoreturn" id="geometry_3">
                    <mutation name="lookupGeometry" />
                    <next>
                      <block type="procedures_callnoreturn" id="geometry_4">
                        <mutation name="paperSample" />
                        <next>
                          <block type="procedures_callnoreturn" id="geometry_5">
                            <mutation name="classifySample" />
                            <next>
                              <block type="procedures_callnoreturn" id="geometry_6">
                                <mutation name="showResult" />
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="geometry_82" x="25" y="700">
    <field name="NAME">buildGeometry</field>
    <statement name="STACK">
      <block type="comment" id="student_geometry_records">
        <field name="COMMENT">STORE NAMED GEOMETRY RECORDS
Each native list record is [name,xMin,xMax,yMin,yMax]. Names are unique keys. Lists plus a linear search implement a small map abstraction, NOT a hash table. Practice field edges are +/-72 inches; center fixture spans +/-12. Not season measurements.</field>
        <next>
          <block type="variables_set" id="geometry_79">
            <field name="VAR" id="geometry_var_geometry">geometry</field>
            <value name="VALUE">
              <block type="lists_create_with" id="geometry_78">
                <mutation items="5" />
                <value name="ADD0">
                  <block type="lists_create_with" id="geometry_21">
                    <mutation items="5" />
                    <value name="ADD0">
                      <block type="text" id="geometry_8">
                        <field name="TEXT">east wall</field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="misc_roundDecimal" id="geometry_11">
                        <value name="NUMBER">
                          <block type="math_number" id="geometry_9">
                            <field name="NUM">72</field>
                          </block>
                        </value>
                        <value name="PRECISION">
                          <block type="math_number" id="geometry_10">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="ADD2">
                      <block type="misc_roundDecimal" id="geometry_14">
                        <value name="NUMBER">
                          <block type="math_number" id="geometry_12">
                            <field name="NUM">72</field>
                          </block>
                        </value>
                        <value name="PRECISION">
                          <block type="math_number" id="geometry_13">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="ADD3">
                      <block type="misc_roundDecimal" id="geometry_17">
                        <value name="NUMBER">
                          <block type="math_number" id="geometry_15">
                            <field name="NUM">-72</field>
                          </block>
                        </value>
                        <value name="PRECISION">
                          <block type="math_number" id="geometry_16">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="ADD4">
                      <block type="misc_roundDecimal" id="geometry_20">
                        <value name="NUMBER">
                          <block type="math_number" id="geometry_18">
                            <field name="NUM">72</field>
                          </block>
                        </value>
                        <value name="PRECISION">
                          <block type="math_number" id="geometry_19">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="lists_create_with" id="geometry_35">
                    <mutation items="5" />
                    <value name="ADD0">
                      <block type="text" id="geometry_22">
                        <field name="TEXT">west wall</field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="misc_roundDecimal" id="geometry_25">
                        <value name="NUMBER">
                          <block type="math_number" id="geometry_23">
                            <field name="NUM">-72</field>
                          </block>
                        </value>
                        <value name="PRECISION">
                          <block type="math_number" id="geometry_24">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="ADD2">
                      <block type="misc_roundDecimal" id="geometry_28">
                        <value name="NUMBER">
                          <block type="math_number" id="geometry_26">
                            <field name="NUM">-72</field>
                          </block>
                        </value>
                        <value name="PRECISION">
                          <block type="math_number" id="geometry_27">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="ADD3">
                      <block type="misc_roundDecimal" id="geometry_31">
                        <value name="NUMBER">
                          <block type="math_number" id="geometry_29">
                            <field name="NUM">-72</field>
                          </block>
                        </value>
                        <value name="PRECISION">
                          <block type="math_number" id="geometry_30">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="ADD4">
                      <block type="misc_roundDecimal" id="geometry_34">
                        <value name="NUMBER">
                          <block type="math_number" id="geometry_32">
                            <field name="NUM">72</field>
                          </block>
                        </value>
                        <value name="PRECISION">
                          <block type="math_number" id="geometry_33">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="ADD2">
                  <block type="lists_create_with" id="geometry_49">
                    <mutation items="5" />
                    <value name="ADD0">
                      <block type="text" id="geometry_36">
                        <field name="TEXT">north wall</field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="misc_roundDecimal" id="geometry_39">
                        <value name="NUMBER">
                          <block type="math_number" id="geometry_37">
                            <field name="NUM">-72</field>
                          </block>
                        </value>
                        <value name="PRECISION">
                          <block type="math_number" id="geometry_38">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="ADD2">
                      <block type="misc_roundDecimal" id="geometry_42">
                        <value name="NUMBER">
                          <block type="math_number" id="geometry_40">
                            <field name="NUM">72</field>
                          </block>
                        </value>
                        <value name="PRECISION">
                          <block type="math_number" id="geometry_41">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="ADD3">
                      <block type="misc_roundDecimal" id="geometry_45">
                        <value name="NUMBER">
                          <block type="math_number" id="geometry_43">
                            <field name="NUM">72</field>
                          </block>
                        </value>
                        <value name="PRECISION">
                          <block type="math_number" id="geometry_44">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="ADD4">
                      <block type="misc_roundDecimal" id="geometry_48">
                        <value name="NUMBER">
                          <block type="math_number" id="geometry_46">
                            <field name="NUM">72</field>
                          </block>
                        </value>
                        <value name="PRECISION">
                          <block type="math_number" id="geometry_47">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="ADD3">
                  <block type="lists_create_with" id="geometry_63">
                    <mutation items="5" />
                    <value name="ADD0">
                      <block type="text" id="geometry_50">
                        <field name="TEXT">south wall</field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="misc_roundDecimal" id="geometry_53">
                        <value name="NUMBER">
                          <block type="math_number" id="geometry_51">
                            <field name="NUM">-72</field>
                          </block>
                        </value>
                        <value name="PRECISION">
                          <block type="math_number" id="geometry_52">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="ADD2">
                      <block type="misc_roundDecimal" id="geometry_56">
                        <value name="NUMBER">
                          <block type="math_number" id="geometry_54">
                            <field name="NUM">72</field>
                          </block>
                        </value>
                        <value name="PRECISION">
                          <block type="math_number" id="geometry_55">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="ADD3">
                      <block type="misc_roundDecimal" id="geometry_59">
                        <value name="NUMBER">
                          <block type="math_number" id="geometry_57">
                            <field name="NUM">-72</field>
                          </block>
                        </value>
                        <value name="PRECISION">
                          <block type="math_number" id="geometry_58">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="ADD4">
                      <block type="misc_roundDecimal" id="geometry_62">
                        <value name="NUMBER">
                          <block type="math_number" id="geometry_60">
                            <field name="NUM">-72</field>
                          </block>
                        </value>
                        <value name="PRECISION">
                          <block type="math_number" id="geometry_61">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="ADD4">
                  <block type="lists_create_with" id="geometry_77">
                    <mutation items="5" />
                    <value name="ADD0">
                      <block type="text" id="geometry_64">
                        <field name="TEXT">center fixture</field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="misc_roundDecimal" id="geometry_67">
                        <value name="NUMBER">
                          <block type="math_number" id="geometry_65">
                            <field name="NUM">-12</field>
                          </block>
                        </value>
                        <value name="PRECISION">
                          <block type="math_number" id="geometry_66">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="ADD2">
                      <block type="misc_roundDecimal" id="geometry_70">
                        <value name="NUMBER">
                          <block type="math_number" id="geometry_68">
                            <field name="NUM">12</field>
                          </block>
                        </value>
                        <value name="PRECISION">
                          <block type="math_number" id="geometry_69">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="ADD3">
                      <block type="misc_roundDecimal" id="geometry_73">
                        <value name="NUMBER">
                          <block type="math_number" id="geometry_71">
                            <field name="NUM">-12</field>
                          </block>
                        </value>
                        <value name="PRECISION">
                          <block type="math_number" id="geometry_72">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="ADD4">
                      <block type="misc_roundDecimal" id="geometry_76">
                        <value name="NUMBER">
                          <block type="math_number" id="geometry_74">
                            <field name="NUM">12</field>
                          </block>
                        </value>
                        <value name="PRECISION">
                          <block type="math_number" id="geometry_75">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="geometry_81">
                <field name="VAR" id="geometry_var_tolerance">tolerance</field>
                <value name="VALUE">
                  <block type="math_number" id="geometry_80">
                    <field name="NUM">2</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="geometry_123" x="25" y="1300">
    <field name="NAME">lookupGeometry</field>
    <statement name="STACK">
      <block type="comment" id="student_geometry_lookup">
        <field name="COMMENT">LOOK UP ONE KEY WITHOUT GUESSING
List positions start at 1. Search name in position 1; retain UNKNOWN if no key or duplicate keys. A real hash table hashes keys; this small list scans every record.</field>
        <next>
          <block type="variables_set" id="geometry_84">
            <field name="VAR" id="geometry_var_wantedKey">wantedKey</field>
            <value name="VALUE">
              <block type="text" id="geometry_83">
                <field name="TEXT">center fixture</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="geometry_86">
                <field name="VAR" id="geometry_var_lookupCount">lookupCount</field>
                <value name="VALUE">
                  <block type="math_number" id="geometry_85">
                    <field name="NUM">0</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="geometry_88">
                    <field name="VAR" id="geometry_var_lookupResult">lookupResult</field>
                    <value name="VALUE">
                      <block type="lists_create_empty" id="geometry_87" />
                    </value>
                    <next>
                      <block type="controls_if" id="geometry_116">
                        <value name="IF0">
                          <block type="logic_compare" id="geometry_115">
                            <field name="OP">GT</field>
                            <value name="A">
                              <block type="lists_length" id="geometry_113">
                                <value name="VALUE">
                                  <block type="variables_get" id="geometry_112">
                                    <field name="VAR" id="geometry_var_geometry">geometry</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="geometry_114">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="controls_for" id="geometry_107">
                            <field name="VAR" id="geometry_var_recordIndex">recordIndex</field>
                            <value name="FROM">
                              <block type="math_number" id="geometry_105">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                            <value name="TO">
                              <block type="lists_length" id="geometry_104">
                                <value name="VALUE">
                                  <block type="variables_get" id="geometry_103">
                                    <field name="VAR" id="geometry_var_geometry">geometry</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="BY">
                              <block type="math_number" id="geometry_106">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                            <statement name="DO">
                              <block type="variables_set" id="geometry_111">
                                <field name="VAR" id="geometry_var_record">record</field>
                                <value name="VALUE">
                                  <block type="lists_getIndex" id="geometry_110">
                                    <mutation statement="false" at="true" />
                                    <field name="MODE">GET</field>
                                    <field name="WHERE">FROM_START</field>
                                    <value name="VALUE">
                                      <block type="variables_get" id="geometry_108">
                                        <field name="VAR" id="geometry_var_geometry">geometry</field>
                                      </block>
                                    </value>
                                    <value name="AT">
                                      <block type="variables_get" id="geometry_109">
                                        <field name="VAR" id="geometry_var_recordIndex">recordIndex</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="controls_if" id="geometry_102">
                                    <value name="IF0">
                                      <block type="logic_compare" id="geometry_95">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="text_join" id="geometry_93">
                                            <mutation items="2" />
                                            <value name="ADD0">
                                              <block type="text" id="geometry_89">
                                                <field name="TEXT" />
                                              </block>
                                            </value>
                                            <value name="ADD1">
                                              <block type="lists_getIndex" id="geometry_92">
                                                <mutation statement="false" at="true" />
                                                <field name="MODE">GET</field>
                                                <field name="WHERE">FROM_START</field>
                                                <value name="VALUE">
                                                  <block type="variables_get" id="geometry_90">
                                                    <field name="VAR" id="geometry_var_record">record</field>
                                                  </block>
                                                </value>
                                                <value name="AT">
                                                  <block type="math_number" id="geometry_91">
                                                    <field name="NUM">1</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="variables_get" id="geometry_94">
                                            <field name="VAR" id="geometry_var_wantedKey">wantedKey</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="variables_set" id="geometry_99">
                                        <field name="VAR" id="geometry_var_lookupCount">lookupCount</field>
                                        <value name="VALUE">
                                          <block type="math_arithmetic" id="geometry_98">
                                            <field name="OP">ADD</field>
                                            <value name="A">
                                              <block type="variables_get" id="geometry_96">
                                                <field name="VAR" id="geometry_var_lookupCount">lookupCount</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="geometry_97">
                                                <field name="NUM">1</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="geometry_101">
                                            <field name="VAR" id="geometry_var_lookupResult">lookupResult</field>
                                            <value name="VALUE">
                                              <block type="variables_get" id="geometry_100">
                                                <field name="VAR" id="geometry_var_record">record</field>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </statement>
                        <next>
                          <block type="controls_if" id="geometry_122">
                            <value name="IF0">
                              <block type="logic_compare" id="geometry_119">
                                <field name="OP">NEQ</field>
                                <value name="A">
                                  <block type="variables_get" id="geometry_117">
                                    <field name="VAR" id="geometry_var_lookupCount">lookupCount</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="math_number" id="geometry_118">
                                    <field name="NUM">1</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="variables_set" id="geometry_121">
                                <field name="VAR" id="geometry_var_lookupResult">lookupResult</field>
                                <value name="VALUE">
                                  <block type="lists_create_empty" id="geometry_120" />
                                </value>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="geometry_168" x="25" y="2200">
    <field name="NAME">paperSample</field>
    <statement name="STACK">
      <block type="comment" id="student_geometry_sample">
        <field name="COMMENT">ONE CAPTURE-TIME PAPER SAMPLE
Pose is robot center at the range capture, not an arbitrary later pose. Sensor mounting: forward +6 inches, left +2 inches, yaw 0 degrees. Pose (12,-24), heading 0, range 30 inches. Validity flags below are explicit paper assumptions, not real hardware health checks.</field>
        <next>
          <block type="variables_set" id="geometry_127">
            <field name="VAR" id="geometry_var_robotX">robotX</field>
            <value name="VALUE">
              <block type="misc_roundDecimal" id="geometry_126">
                <value name="NUMBER">
                  <block type="math_number" id="geometry_124">
                    <field name="NUM">12</field>
                  </block>
                </value>
                <value name="PRECISION">
                  <block type="math_number" id="geometry_125">
                    <field name="NUM">3</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="geometry_131">
                <field name="VAR" id="geometry_var_robotY">robotY</field>
                <value name="VALUE">
                  <block type="misc_roundDecimal" id="geometry_130">
                    <value name="NUMBER">
                      <block type="math_number" id="geometry_128">
                        <field name="NUM">-24</field>
                      </block>
                    </value>
                    <value name="PRECISION">
                      <block type="math_number" id="geometry_129">
                        <field name="NUM">3</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="geometry_135">
                    <field name="VAR" id="geometry_var_heading">heading</field>
                    <value name="VALUE">
                      <block type="misc_roundDecimal" id="geometry_134">
                        <value name="NUMBER">
                          <block type="math_number" id="geometry_132">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                        <value name="PRECISION">
                          <block type="math_number" id="geometry_133">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="geometry_139">
                        <field name="VAR" id="geometry_var_mountForward">mountForward</field>
                        <value name="VALUE">
                          <block type="misc_roundDecimal" id="geometry_138">
                            <value name="NUMBER">
                              <block type="math_number" id="geometry_136">
                                <field name="NUM">6</field>
                              </block>
                            </value>
                            <value name="PRECISION">
                              <block type="math_number" id="geometry_137">
                                <field name="NUM">3</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="geometry_143">
                            <field name="VAR" id="geometry_var_mountLeft">mountLeft</field>
                            <value name="VALUE">
                              <block type="misc_roundDecimal" id="geometry_142">
                                <value name="NUMBER">
                                  <block type="math_number" id="geometry_140">
                                    <field name="NUM">2</field>
                                  </block>
                                </value>
                                <value name="PRECISION">
                                  <block type="math_number" id="geometry_141">
                                    <field name="NUM">3</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="geometry_147">
                                <field name="VAR" id="geometry_var_mountYaw">mountYaw</field>
                                <value name="VALUE">
                                  <block type="misc_roundDecimal" id="geometry_146">
                                    <value name="NUMBER">
                                      <block type="math_number" id="geometry_144">
                                        <field name="NUM">0</field>
                                      </block>
                                    </value>
                                    <value name="PRECISION">
                                      <block type="math_number" id="geometry_145">
                                        <field name="NUM">3</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="geometry_151">
                                    <field name="VAR" id="geometry_var_rangeInches">rangeInches</field>
                                    <value name="VALUE">
                                      <block type="misc_roundDecimal" id="geometry_150">
                                        <value name="NUMBER">
                                          <block type="math_number" id="geometry_148">
                                            <field name="NUM">30</field>
                                          </block>
                                        </value>
                                        <value name="PRECISION">
                                          <block type="math_number" id="geometry_149">
                                            <field name="NUM">3</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="geometry_155">
                                        <field name="VAR" id="geometry_var_sampleAgeMs">sampleAgeMs</field>
                                        <value name="VALUE">
                                          <block type="misc_roundDecimal" id="geometry_154">
                                            <value name="NUMBER">
                                              <block type="math_number" id="geometry_152">
                                                <field name="NUM">0</field>
                                              </block>
                                            </value>
                                            <value name="PRECISION">
                                              <block type="math_number" id="geometry_153">
                                                <field name="NUM">3</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="geometry_159">
                                            <field name="VAR" id="geometry_var_poseSkewMs">poseSkewMs</field>
                                            <value name="VALUE">
                                              <block type="misc_roundDecimal" id="geometry_158">
                                                <value name="NUMBER">
                                                  <block type="math_number" id="geometry_156">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                                <value name="PRECISION">
                                                  <block type="math_number" id="geometry_157">
                                                    <field name="NUM">3</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id="geometry_161">
                                                <field name="VAR" id="geometry_var_poseValid">poseValid</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="geometry_160">
                                                    <field name="BOOL">TRUE</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="variables_set" id="geometry_163">
                                                    <field name="VAR" id="geometry_var_rangeValid">rangeValid</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="geometry_162">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="variables_set" id="geometry_165">
                                                        <field name="VAR" id="geometry_var_mountValid">mountValid</field>
                                                        <value name="VALUE">
                                                          <block type="logic_boolean" id="geometry_164">
                                                            <field name="BOOL">TRUE</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="variables_set" id="geometry_167">
                                                            <field name="VAR" id="geometry_var_geometryValid">geometryValid</field>
                                                            <value name="VALUE">
                                                              <block type="logic_boolean" id="geometry_166">
                                                                <field name="BOOL">TRUE</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="geometry_267" x="25" y="3400">
    <field name="NAME">classifySample</field>
    <statement name="STACK">
      <block type="comment" id="student_geometry_gates">
        <field name="COMMENT">INVALID OR STALE IS UNKNOWN
Reset old hit and labels on every sample. Require valid pose, range, mounting, and map; paper age &lt;=100 ms and pose skew &lt;=20 ms; range 1..60 inches. These are classroom bounds, not a sensor specification. Failed gates never mean clear.</field>
        <next>
          <block type="variables_set" id="geometry_249">
            <field name="VAR" id="geometry_var_hitKnown">hitKnown</field>
            <value name="VALUE">
              <block type="logic_boolean" id="geometry_248">
                <field name="BOOL">FALSE</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="geometry_253">
                <field name="VAR" id="geometry_var_hitX">hitX</field>
                <value name="VALUE">
                  <block type="misc_roundDecimal" id="geometry_252">
                    <value name="NUMBER">
                      <block type="math_number" id="geometry_250">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                    <value name="PRECISION">
                      <block type="math_number" id="geometry_251">
                        <field name="NUM">3</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="geometry_257">
                    <field name="VAR" id="geometry_var_hitY">hitY</field>
                    <value name="VALUE">
                      <block type="misc_roundDecimal" id="geometry_256">
                        <value name="NUMBER">
                          <block type="math_number" id="geometry_254">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                        <value name="PRECISION">
                          <block type="math_number" id="geometry_255">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="geometry_259">
                        <field name="VAR" id="geometry_var_classification">classification</field>
                        <value name="VALUE">
                          <block type="text" id="geometry_258">
                            <field name="TEXT">UNKNOWN</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="geometry_261">
                            <field name="VAR" id="geometry_var_matchedKey">matchedKey</field>
                            <value name="VALUE">
                              <block type="text" id="geometry_260">
                                <field name="TEXT">UNKNOWN</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="geometry_263">
                                <field name="VAR" id="geometry_var_matches">matches</field>
                                <value name="VALUE">
                                  <block type="math_number" id="geometry_262">
                                    <field name="NUM">0</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="controls_if" id="geometry_266">
                                    <value name="IF0">
                                      <block type="logic_operation" id="geometry_247">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="logic_operation" id="geometry_246">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="logic_operation" id="geometry_245">
                                                <field name="OP">AND</field>
                                                <value name="A">
                                                  <block type="logic_operation" id="geometry_244">
                                                    <field name="OP">AND</field>
                                                    <value name="A">
                                                      <block type="logic_operation" id="geometry_243">
                                                        <field name="OP">AND</field>
                                                        <value name="A">
                                                          <block type="logic_operation" id="geometry_242">
                                                            <field name="OP">AND</field>
                                                            <value name="A">
                                                              <block type="logic_operation" id="geometry_241">
                                                                <field name="OP">AND</field>
                                                                <value name="A">
                                                                  <block type="logic_operation" id="geometry_240">
                                                                    <field name="OP">AND</field>
                                                                    <value name="A">
                                                                      <block type="logic_operation" id="geometry_239">
                                                                        <field name="OP">AND</field>
                                                                        <value name="A">
                                                                          <block type="logic_operation" id="geometry_238">
                                                                            <field name="OP">AND</field>
                                                                            <value name="A">
                                                                              <block type="logic_operation" id="geometry_237">
                                                                                <field name="OP">AND</field>
                                                                                <value name="A">
                                                                                  <block type="logic_operation" id="geometry_236">
                                                                                    <field name="OP">AND</field>
                                                                                    <value name="A">
                                                                                      <block type="variables_get" id="geometry_169">
                                                                                        <field name="VAR" id="geometry_var_poseValid">poseValid</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <block type="variables_get" id="geometry_170">
                                                                                        <field name="VAR" id="geometry_var_rangeValid">rangeValid</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="variables_get" id="geometry_171">
                                                                                    <field name="VAR" id="geometry_var_mountValid">mountValid</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="variables_get" id="geometry_172">
                                                                                <field name="VAR" id="geometry_var_geometryValid">geometryValid</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="logic_operation" id="geometry_179">
                                                                            <field name="OP">AND</field>
                                                                            <value name="A">
                                                                              <block type="logic_compare" id="geometry_175">
                                                                                <field name="OP">GTE</field>
                                                                                <value name="A">
                                                                                  <block type="variables_get" id="geometry_173">
                                                                                    <field name="VAR" id="geometry_var_rangeInches">rangeInches</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="math_number" id="geometry_174">
                                                                                    <field name="NUM">1</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="logic_compare" id="geometry_178">
                                                                                <field name="OP">LTE</field>
                                                                                <value name="A">
                                                                                  <block type="variables_get" id="geometry_176">
                                                                                    <field name="VAR" id="geometry_var_rangeInches">rangeInches</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="math_number" id="geometry_177">
                                                                                    <field name="NUM">60</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="logic_operation" id="geometry_186">
                                                                        <field name="OP">AND</field>
                                                                        <value name="A">
                                                                          <block type="logic_compare" id="geometry_182">
                                                                            <field name="OP">GTE</field>
                                                                            <value name="A">
                                                                              <block type="variables_get" id="geometry_180">
                                                                                <field name="VAR" id="geometry_var_sampleAgeMs">sampleAgeMs</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="math_number" id="geometry_181">
                                                                                <field name="NUM">0</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="logic_compare" id="geometry_185">
                                                                            <field name="OP">LTE</field>
                                                                            <value name="A">
                                                                              <block type="variables_get" id="geometry_183">
                                                                                <field name="VAR" id="geometry_var_sampleAgeMs">sampleAgeMs</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="math_number" id="geometry_184">
                                                                                <field name="NUM">100</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_operation" id="geometry_193">
                                                                    <field name="OP">AND</field>
                                                                    <value name="A">
                                                                      <block type="logic_compare" id="geometry_189">
                                                                        <field name="OP">GTE</field>
                                                                        <value name="A">
                                                                          <block type="variables_get" id="geometry_187">
                                                                            <field name="VAR" id="geometry_var_poseSkewMs">poseSkewMs</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="math_number" id="geometry_188">
                                                                            <field name="NUM">0</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="logic_compare" id="geometry_192">
                                                                        <field name="OP">LTE</field>
                                                                        <value name="A">
                                                                          <block type="variables_get" id="geometry_190">
                                                                            <field name="VAR" id="geometry_var_poseSkewMs">poseSkewMs</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="math_number" id="geometry_191">
                                                                            <field name="NUM">20</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_operation" id="geometry_200">
                                                                <field name="OP">AND</field>
                                                                <value name="A">
                                                                  <block type="logic_compare" id="geometry_196">
                                                                    <field name="OP">GTE</field>
                                                                    <value name="A">
                                                                      <block type="variables_get" id="geometry_194">
                                                                        <field name="VAR" id="geometry_var_robotX">robotX</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="math_number" id="geometry_195">
                                                                        <field name="NUM">-72</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_compare" id="geometry_199">
                                                                    <field name="OP">LTE</field>
                                                                    <value name="A">
                                                                      <block type="variables_get" id="geometry_197">
                                                                        <field name="VAR" id="geometry_var_robotX">robotX</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="math_number" id="geometry_198">
                                                                        <field name="NUM">72</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="logic_operation" id="geometry_207">
                                                            <field name="OP">AND</field>
                                                            <value name="A">
                                                              <block type="logic_compare" id="geometry_203">
                                                                <field name="OP">GTE</field>
                                                                <value name="A">
                                                                  <block type="variables_get" id="geometry_201">
                                                                    <field name="VAR" id="geometry_var_robotY">robotY</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="math_number" id="geometry_202">
                                                                    <field name="NUM">-72</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_compare" id="geometry_206">
                                                                <field name="OP">LTE</field>
                                                                <value name="A">
                                                                  <block type="variables_get" id="geometry_204">
                                                                    <field name="VAR" id="geometry_var_robotY">robotY</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="math_number" id="geometry_205">
                                                                    <field name="NUM">72</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_operation" id="geometry_214">
                                                        <field name="OP">AND</field>
                                                        <value name="A">
                                                          <block type="logic_compare" id="geometry_210">
                                                            <field name="OP">GTE</field>
                                                            <value name="A">
                                                              <block type="variables_get" id="geometry_208">
                                                                <field name="VAR" id="geometry_var_heading">heading</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="math_number" id="geometry_209">
                                                                <field name="NUM">-180</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="logic_compare" id="geometry_213">
                                                            <field name="OP">LTE</field>
                                                            <value name="A">
                                                              <block type="variables_get" id="geometry_211">
                                                                <field name="VAR" id="geometry_var_heading">heading</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="math_number" id="geometry_212">
                                                                <field name="NUM">180</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_operation" id="geometry_221">
                                                    <field name="OP">AND</field>
                                                    <value name="A">
                                                      <block type="logic_compare" id="geometry_217">
                                                        <field name="OP">GTE</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="geometry_215">
                                                            <field name="VAR" id="geometry_var_mountForward">mountForward</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="math_number" id="geometry_216">
                                                            <field name="NUM">-18</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_compare" id="geometry_220">
                                                        <field name="OP">LTE</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="geometry_218">
                                                            <field name="VAR" id="geometry_var_mountForward">mountForward</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="math_number" id="geometry_219">
                                                            <field name="NUM">18</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_operation" id="geometry_228">
                                                <field name="OP">AND</field>
                                                <value name="A">
                                                  <block type="logic_compare" id="geometry_224">
                                                    <field name="OP">GTE</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="geometry_222">
                                                        <field name="VAR" id="geometry_var_mountLeft">mountLeft</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="geometry_223">
                                                        <field name="NUM">-18</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_compare" id="geometry_227">
                                                    <field name="OP">LTE</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="geometry_225">
                                                        <field name="VAR" id="geometry_var_mountLeft">mountLeft</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="geometry_226">
                                                        <field name="NUM">18</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_operation" id="geometry_235">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="logic_compare" id="geometry_231">
                                                <field name="OP">GTE</field>
                                                <value name="A">
                                                  <block type="variables_get" id="geometry_229">
                                                    <field name="VAR" id="geometry_var_mountYaw">mountYaw</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="geometry_230">
                                                    <field name="NUM">-180</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_compare" id="geometry_234">
                                                <field name="OP">LTE</field>
                                                <value name="A">
                                                  <block type="variables_get" id="geometry_232">
                                                    <field name="VAR" id="geometry_var_mountYaw">mountYaw</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="geometry_233">
                                                    <field name="NUM">180</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="procedures_callnoreturn" id="geometry_264">
                                        <mutation name="projectHit" />
                                        <next>
                                          <block type="procedures_callnoreturn" id="geometry_265">
                                            <mutation name="filterGeometry" />
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="geometry_312" x="25" y="4700">
    <field name="NAME">projectHit</field>
    <statement name="STACK">
      <block type="comment" id="student_geometry_project">
        <field name="COMMENT">ROTATE THE MOUNT THEN PROJECT THE RANGE
Native sin/cos take degrees. First rotate forward/left mounting by robot heading, then add range along heading + sensor yaw. This estimates a reflecting surface, not another robot center. A single return cannot identify a robot.</field>
        <next>
          <block type="variables_set" id="geometry_279">
            <field name="VAR" id="geometry_var_sensorX">sensorX</field>
            <value name="VALUE">
              <block type="math_arithmetic" id="geometry_278">
                <field name="OP">ADD</field>
                <value name="A">
                  <block type="variables_get" id="geometry_268">
                    <field name="VAR" id="geometry_var_robotX">robotX</field>
                  </block>
                </value>
                <value name="B">
                  <block type="math_arithmetic" id="geometry_277">
                    <field name="OP">MINUS</field>
                    <value name="A">
                      <block type="math_arithmetic" id="geometry_272">
                        <field name="OP">MULTIPLY</field>
                        <value name="A">
                          <block type="variables_get" id="geometry_269">
                            <field name="VAR" id="geometry_var_mountForward">mountForward</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_trig" id="geometry_271">
                            <field name="OP">COS</field>
                            <value name="NUM">
                              <block type="variables_get" id="geometry_270">
                                <field name="VAR" id="geometry_var_heading">heading</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_arithmetic" id="geometry_276">
                        <field name="OP">MULTIPLY</field>
                        <value name="A">
                          <block type="variables_get" id="geometry_273">
                            <field name="VAR" id="geometry_var_mountLeft">mountLeft</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_trig" id="geometry_275">
                            <field name="OP">SIN</field>
                            <value name="NUM">
                              <block type="variables_get" id="geometry_274">
                                <field name="VAR" id="geometry_var_heading">heading</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="geometry_291">
                <field name="VAR" id="geometry_var_sensorY">sensorY</field>
                <value name="VALUE">
                  <block type="math_arithmetic" id="geometry_290">
                    <field name="OP">ADD</field>
                    <value name="A">
                      <block type="variables_get" id="geometry_280">
                        <field name="VAR" id="geometry_var_robotY">robotY</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_arithmetic" id="geometry_289">
                        <field name="OP">ADD</field>
                        <value name="A">
                          <block type="math_arithmetic" id="geometry_284">
                            <field name="OP">MULTIPLY</field>
                            <value name="A">
                              <block type="variables_get" id="geometry_281">
                                <field name="VAR" id="geometry_var_mountForward">mountForward</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_trig" id="geometry_283">
                                <field name="OP">SIN</field>
                                <value name="NUM">
                                  <block type="variables_get" id="geometry_282">
                                    <field name="VAR" id="geometry_var_heading">heading</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_arithmetic" id="geometry_288">
                            <field name="OP">MULTIPLY</field>
                            <value name="A">
                              <block type="variables_get" id="geometry_285">
                                <field name="VAR" id="geometry_var_mountLeft">mountLeft</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_trig" id="geometry_287">
                                <field name="OP">COS</field>
                                <value name="NUM">
                                  <block type="variables_get" id="geometry_286">
                                    <field name="VAR" id="geometry_var_heading">heading</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="geometry_295">
                    <field name="VAR" id="geometry_var_beamHeading">beamHeading</field>
                    <value name="VALUE">
                      <block type="math_arithmetic" id="geometry_294">
                        <field name="OP">ADD</field>
                        <value name="A">
                          <block type="variables_get" id="geometry_292">
                            <field name="VAR" id="geometry_var_heading">heading</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="geometry_293">
                            <field name="VAR" id="geometry_var_mountYaw">mountYaw</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="geometry_302">
                        <field name="VAR" id="geometry_var_hitX">hitX</field>
                        <value name="VALUE">
                          <block type="math_arithmetic" id="geometry_301">
                            <field name="OP">ADD</field>
                            <value name="A">
                              <block type="variables_get" id="geometry_296">
                                <field name="VAR" id="geometry_var_sensorX">sensorX</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_arithmetic" id="geometry_300">
                                <field name="OP">MULTIPLY</field>
                                <value name="A">
                                  <block type="variables_get" id="geometry_297">
                                    <field name="VAR" id="geometry_var_rangeInches">rangeInches</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="math_trig" id="geometry_299">
                                    <field name="OP">COS</field>
                                    <value name="NUM">
                                      <block type="variables_get" id="geometry_298">
                                        <field name="VAR" id="geometry_var_beamHeading">beamHeading</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="geometry_309">
                            <field name="VAR" id="geometry_var_hitY">hitY</field>
                            <value name="VALUE">
                              <block type="math_arithmetic" id="geometry_308">
                                <field name="OP">ADD</field>
                                <value name="A">
                                  <block type="variables_get" id="geometry_303">
                                    <field name="VAR" id="geometry_var_sensorY">sensorY</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="math_arithmetic" id="geometry_307">
                                    <field name="OP">MULTIPLY</field>
                                    <value name="A">
                                      <block type="variables_get" id="geometry_304">
                                        <field name="VAR" id="geometry_var_rangeInches">rangeInches</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_trig" id="geometry_306">
                                        <field name="OP">SIN</field>
                                        <value name="NUM">
                                          <block type="variables_get" id="geometry_305">
                                            <field name="VAR" id="geometry_var_beamHeading">beamHeading</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="geometry_311">
                                <field name="VAR" id="geometry_var_hitKnown">hitKnown</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="geometry_310">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="geometry_399" x="25" y="5800">
    <field name="NAME">filterGeometry</field>
    <statement name="STACK">
      <block type="comment" id="student_geometry_filter">
        <field name="COMMENT">FILTER FIXED GEOMETRY ONLY IN THE CANDIDATE LAYER
Count records whose rectangle expanded by 2 inches contains the hit. Exactly one match means CONSISTENT WITH FIXED, not proof nothing else is there. More than one is UNKNOWN. No match in the practice field means POSSIBLE ROBOT OR OBSTACLE, not confirmed identity. This endpoint test does not test visibility, beam width, or occlusion.</field>
        <next>
          <block type="controls_if" id="geometry_398">
            <value name="IF0">
              <block type="logic_operation" id="geometry_358">
                <field name="OP">AND</field>
                <value name="A">
                  <block type="logic_operation" id="geometry_350">
                    <field name="OP">AND</field>
                    <value name="A">
                      <block type="logic_compare" id="geometry_346">
                        <field name="OP">GTE</field>
                        <value name="A">
                          <block type="variables_get" id="geometry_344">
                            <field name="VAR" id="geometry_var_hitX">hitX</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="geometry_345">
                            <field name="NUM">-74</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_compare" id="geometry_349">
                        <field name="OP">LTE</field>
                        <value name="A">
                          <block type="variables_get" id="geometry_347">
                            <field name="VAR" id="geometry_var_hitX">hitX</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="geometry_348">
                            <field name="NUM">74</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_operation" id="geometry_357">
                    <field name="OP">AND</field>
                    <value name="A">
                      <block type="logic_compare" id="geometry_353">
                        <field name="OP">GTE</field>
                        <value name="A">
                          <block type="variables_get" id="geometry_351">
                            <field name="VAR" id="geometry_var_hitY">hitY</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="geometry_352">
                            <field name="NUM">-74</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_compare" id="geometry_356">
                        <field name="OP">LTE</field>
                        <value name="A">
                          <block type="variables_get" id="geometry_354">
                            <field name="VAR" id="geometry_var_hitY">hitY</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="geometry_355">
                            <field name="NUM">74</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="controls_if" id="geometry_383">
                <value name="IF0">
                  <block type="logic_compare" id="geometry_382">
                    <field name="OP">GT</field>
                    <value name="A">
                      <block type="lists_length" id="geometry_380">
                        <value name="VALUE">
                          <block type="variables_get" id="geometry_379">
                            <field name="VAR" id="geometry_var_geometry">geometry</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="geometry_381">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="controls_for" id="geometry_374">
                    <field name="VAR" id="geometry_var_recordIndex">recordIndex</field>
                    <value name="FROM">
                      <block type="math_number" id="geometry_372">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                    <value name="TO">
                      <block type="lists_length" id="geometry_371">
                        <value name="VALUE">
                          <block type="variables_get" id="geometry_370">
                            <field name="VAR" id="geometry_var_geometry">geometry</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="BY">
                      <block type="math_number" id="geometry_373">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                    <statement name="DO">
                      <block type="variables_set" id="geometry_378">
                        <field name="VAR" id="geometry_var_record">record</field>
                        <value name="VALUE">
                          <block type="lists_getIndex" id="geometry_377">
                            <mutation statement="false" at="true" />
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_START</field>
                            <value name="VALUE">
                              <block type="variables_get" id="geometry_375">
                                <field name="VAR" id="geometry_var_geometry">geometry</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="variables_get" id="geometry_376">
                                <field name="VAR" id="geometry_var_recordIndex">recordIndex</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="controls_if" id="geometry_369">
                            <value name="IF0">
                              <block type="logic_operation" id="geometry_343">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="logic_operation" id="geometry_342">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_operation" id="geometry_341">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="logic_compare" id="geometry_319">
                                            <field name="OP">GTE</field>
                                            <value name="A">
                                              <block type="variables_get" id="geometry_313">
                                                <field name="VAR" id="geometry_var_hitX">hitX</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_arithmetic" id="geometry_318">
                                                <field name="OP">MINUS</field>
                                                <value name="A">
                                                  <block type="lists_getIndex" id="geometry_316">
                                                    <mutation statement="false" at="true" />
                                                    <field name="MODE">GET</field>
                                                    <field name="WHERE">FROM_START</field>
                                                    <value name="VALUE">
                                                      <block type="variables_get" id="geometry_314">
                                                        <field name="VAR" id="geometry_var_record">record</field>
                                                      </block>
                                                    </value>
                                                    <value name="AT">
                                                      <block type="math_number" id="geometry_315">
                                                        <field name="NUM">2</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="variables_get" id="geometry_317">
                                                    <field name="VAR" id="geometry_var_tolerance">tolerance</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_compare" id="geometry_326">
                                            <field name="OP">LTE</field>
                                            <value name="A">
                                              <block type="variables_get" id="geometry_320">
                                                <field name="VAR" id="geometry_var_hitX">hitX</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_arithmetic" id="geometry_325">
                                                <field name="OP">ADD</field>
                                                <value name="A">
                                                  <block type="lists_getIndex" id="geometry_323">
                                                    <mutation statement="false" at="true" />
                                                    <field name="MODE">GET</field>
                                                    <field name="WHERE">FROM_START</field>
                                                    <value name="VALUE">
                                                      <block type="variables_get" id="geometry_321">
                                                        <field name="VAR" id="geometry_var_record">record</field>
                                                      </block>
                                                    </value>
                                                    <value name="AT">
                                                      <block type="math_number" id="geometry_322">
                                                        <field name="NUM">3</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="variables_get" id="geometry_324">
                                                    <field name="VAR" id="geometry_var_tolerance">tolerance</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_compare" id="geometry_333">
                                        <field name="OP">GTE</field>
                                        <value name="A">
                                          <block type="variables_get" id="geometry_327">
                                            <field name="VAR" id="geometry_var_hitY">hitY</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_arithmetic" id="geometry_332">
                                            <field name="OP">MINUS</field>
                                            <value name="A">
                                              <block type="lists_getIndex" id="geometry_330">
                                                <mutation statement="false" at="true" />
                                                <field name="MODE">GET</field>
                                                <field name="WHERE">FROM_START</field>
                                                <value name="VALUE">
                                                  <block type="variables_get" id="geometry_328">
                                                    <field name="VAR" id="geometry_var_record">record</field>
                                                  </block>
                                                </value>
                                                <value name="AT">
                                                  <block type="math_number" id="geometry_329">
                                                    <field name="NUM">4</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="variables_get" id="geometry_331">
                                                <field name="VAR" id="geometry_var_tolerance">tolerance</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_compare" id="geometry_340">
                                    <field name="OP">LTE</field>
                                    <value name="A">
                                      <block type="variables_get" id="geometry_334">
                                        <field name="VAR" id="geometry_var_hitY">hitY</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_arithmetic" id="geometry_339">
                                        <field name="OP">ADD</field>
                                        <value name="A">
                                          <block type="lists_getIndex" id="geometry_337">
                                            <mutation statement="false" at="true" />
                                            <field name="MODE">GET</field>
                                            <field name="WHERE">FROM_START</field>
                                            <value name="VALUE">
                                              <block type="variables_get" id="geometry_335">
                                                <field name="VAR" id="geometry_var_record">record</field>
                                              </block>
                                            </value>
                                            <value name="AT">
                                              <block type="math_number" id="geometry_336">
                                                <field name="NUM">5</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="variables_get" id="geometry_338">
                                            <field name="VAR" id="geometry_var_tolerance">tolerance</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="variables_set" id="geometry_362">
                                <field name="VAR" id="geometry_var_matches">matches</field>
                                <value name="VALUE">
                                  <block type="math_arithmetic" id="geometry_361">
                                    <field name="OP">ADD</field>
                                    <value name="A">
                                      <block type="variables_get" id="geometry_359">
                                        <field name="VAR" id="geometry_var_matches">matches</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="geometry_360">
                                        <field name="NUM">1</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="geometry_368">
                                    <field name="VAR" id="geometry_var_matchedKey">matchedKey</field>
                                    <value name="VALUE">
                                      <block type="text_join" id="geometry_367">
                                        <mutation items="2" />
                                        <value name="ADD0">
                                          <block type="text" id="geometry_363">
                                            <field name="TEXT" />
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="lists_getIndex" id="geometry_366">
                                            <mutation statement="false" at="true" />
                                            <field name="MODE">GET</field>
                                            <field name="WHERE">FROM_START</field>
                                            <value name="VALUE">
                                              <block type="variables_get" id="geometry_364">
                                                <field name="VAR" id="geometry_var_record">record</field>
                                              </block>
                                            </value>
                                            <value name="AT">
                                              <block type="math_number" id="geometry_365">
                                                <field name="NUM">1</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="geometry_397">
                    <mutation else="1" />
                    <value name="IF0">
                      <block type="logic_compare" id="geometry_386">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="geometry_384">
                            <field name="VAR" id="geometry_var_matches">matches</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="geometry_385">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="geometry_388">
                        <field name="VAR" id="geometry_var_classification">classification</field>
                        <value name="VALUE">
                          <block type="text" id="geometry_387">
                            <field name="TEXT">CONSISTENT WITH FIXED</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="controls_if" id="geometry_396">
                        <mutation else="1" />
                        <value name="IF0">
                          <block type="logic_compare" id="geometry_391">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="variables_get" id="geometry_389">
                                <field name="VAR" id="geometry_var_matches">matches</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="geometry_390">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="variables_set" id="geometry_393">
                            <field name="VAR" id="geometry_var_classification">classification</field>
                            <value name="VALUE">
                              <block type="text" id="geometry_392">
                                <field name="TEXT">POSSIBLE ROBOT OR OBSTACLE</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                        <statement name="ELSE">
                          <block type="variables_set" id="geometry_395">
                            <field name="VAR" id="geometry_var_matchedKey">matchedKey</field>
                            <value name="VALUE">
                              <block type="text" id="geometry_394">
                                <field name="TEXT">UNKNOWN</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="geometry_437" x="25" y="7200">
    <field name="NAME">showResult</field>
    <statement name="STACK">
      <block type="comment" id="student_geometry_report">
        <field name="COMMENT">RAW PROXIMITY NEVER GETS FILTERED AWAY
Always report raw range, even if a hit matches a wall. An independent reviewed collision guard must still use raw proximity in the real motor-output path. This study has no motor outputs and cannot protect another OpMode. Confirm identity with independent vision and repeated time-aligned observations; do not turn UNKNOWN into clear.</field>
        <next>
          <block type="telemetry_addTextData_All" id="geometry_402">
            <value name="KEY">
              <block type="text" id="geometry_400">
                <field name="TEXT">Raw range inches - NEVER suppress</field>
              </block>
            </value>
            <value name="TEXT">
              <block type="variables_get" id="geometry_401">
                <field name="VAR" id="geometry_var_rangeInches">rangeInches</field>
              </block>
            </value>
            <next>
              <block type="telemetry_addTextData_All" id="geometry_405">
                <value name="KEY">
                  <block type="text" id="geometry_403">
                    <field name="TEXT">Lookup key</field>
                  </block>
                </value>
                <value name="TEXT">
                  <block type="variables_get" id="geometry_404">
                    <field name="VAR" id="geometry_var_wantedKey">wantedKey</field>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="geometry_415">
                    <mutation else="1" />
                    <value name="IF0">
                      <block type="logic_compare" id="geometry_408">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="geometry_406">
                            <field name="VAR" id="geometry_var_lookupCount">lookupCount</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="geometry_407">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="telemetry_addTextData_All" id="geometry_411">
                        <value name="KEY">
                          <block type="text" id="geometry_409">
                            <field name="TEXT">Lookup record or UNKNOWN</field>
                          </block>
                        </value>
                        <value name="TEXT">
                          <block type="variables_get" id="geometry_410">
                            <field name="VAR" id="geometry_var_lookupResult">lookupResult</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="telemetry_addTextData_All" id="geometry_414">
                        <value name="KEY">
                          <block type="text" id="geometry_412">
                            <field name="TEXT">Lookup record or UNKNOWN</field>
                          </block>
                        </value>
                        <value name="TEXT">
                          <block type="text" id="geometry_413">
                            <field name="TEXT">UNKNOWN</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block type="controls_if" id="geometry_429">
                        <mutation else="1" />
                        <value name="IF0">
                          <block type="variables_get" id="geometry_416">
                            <field name="VAR" id="geometry_var_hitKnown">hitKnown</field>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="telemetry_addTextData_All" id="geometry_419">
                            <value name="KEY">
                              <block type="text" id="geometry_417">
                                <field name="TEXT">Surface X inches or UNKNOWN</field>
                              </block>
                            </value>
                            <value name="TEXT">
                              <block type="variables_get" id="geometry_418">
                                <field name="VAR" id="geometry_var_hitX">hitX</field>
                              </block>
                            </value>
                            <next>
                              <block type="telemetry_addTextData_All" id="geometry_422">
                                <value name="KEY">
                                  <block type="text" id="geometry_420">
                                    <field name="TEXT">Surface Y inches or UNKNOWN</field>
                                  </block>
                                </value>
                                <value name="TEXT">
                                  <block type="variables_get" id="geometry_421">
                                    <field name="VAR" id="geometry_var_hitY">hitY</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <statement name="ELSE">
                          <block type="telemetry_addTextData_All" id="geometry_425">
                            <value name="KEY">
                              <block type="text" id="geometry_423">
                                <field name="TEXT">Surface X inches or UNKNOWN</field>
                              </block>
                            </value>
                            <value name="TEXT">
                              <block type="text" id="geometry_424">
                                <field name="TEXT">UNKNOWN</field>
                              </block>
                            </value>
                            <next>
                              <block type="telemetry_addTextData_All" id="geometry_428">
                                <value name="KEY">
                                  <block type="text" id="geometry_426">
                                    <field name="TEXT">Surface Y inches or UNKNOWN</field>
                                  </block>
                                </value>
                                <value name="TEXT">
                                  <block type="text" id="geometry_427">
                                    <field name="TEXT">UNKNOWN</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <next>
                          <block type="telemetry_addTextData_All" id="geometry_432">
                            <value name="KEY">
                              <block type="text" id="geometry_430">
                                <field name="TEXT">Candidate classification</field>
                              </block>
                            </value>
                            <value name="TEXT">
                              <block type="variables_get" id="geometry_431">
                                <field name="VAR" id="geometry_var_classification">classification</field>
                              </block>
                            </value>
                            <next>
                              <block type="telemetry_addTextData_All" id="geometry_435">
                                <value name="KEY">
                                  <block type="text" id="geometry_433">
                                    <field name="TEXT">Matched key or UNKNOWN</field>
                                  </block>
                                </value>
                                <value name="TEXT">
                                  <block type="variables_get" id="geometry_434">
                                    <field name="VAR" id="geometry_var_matchedKey">matchedKey</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="telemetry_update" id="geometry_436" />
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="geometry_445" x="25" y="8200">
    <field name="NAME">readDistanceExample</field>
    <statement name="STACK">
      <block type="comment" id="student_geometry_sensor">
        <field name="COMMENT">THE REAL NATIVE DISTANCE GETTER
Uncalled reference procedure: example_distance is a placeholder, NOT verified Cookie Coders hardware. getDistance INCH alone supplies no synchronized field pose or health proof. A reviewed adapter would capture sensor range and field pose together, validate both and their timestamps, then replace paperSample. Do not call or enable this sample for the lesson.</field>
        <next>
          <block type="variables_set" id="geometry_440">
            <field name="VAR" id="geometry_var_rangeInches">rangeInches</field>
            <value name="VALUE">
              <block type="distanceSensor_getDistance" id="geometry_439">
                <field name="IDENTIFIER">example_distanceAsDistanceSensor</field>
                <value name="DISTANCE_UNIT">
                  <block type="navigation_enum_distanceUnit" id="geometry_438">
                    <field name="DISTANCE_UNIT">INCH</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="geometry_442">
                <field name="VAR" id="geometry_var_rangeValid">rangeValid</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="geometry_441">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="geometry_444">
                    <field name="VAR" id="geometry_var_poseValid">poseValid</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="geometry_443">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<Extra><OpModeMeta flavor="TELEOP" group="Learning" /><Enabled value="false" /></Extra>
