<xml xmlns="https://developers.google.com/blockly/xml">
  <block type="controls_whileUntil" id="e9pyd2|kdiqK7T`d}y-:" x="-527" y="-415">
    <field name="MODE">UNTIL</field>
    <value name="BOOL">
      <block type="check_for_obstacle" id="0f+q-xU~!{t^(!3n1-PR"></block>
    </value>
    <statement name="DO">
      <block type="controls_if" id="fF2z|E2OAJf4-YKu;zLg">
        <mutation elseif="2" else="1"></mutation>
        <value name="IF0">
          <block type="logic_operation" id="*$v1?f3MOl2v(L-M5kx*">
            <field name="OP">AND</field>
            <value name="A">
              <block type="check_for_line" id="C)-s=4)VrB1A2tCb~K2*">
                <field name="check_for_line_option">1</field>
              </block>
            </value>
            <value name="B">
              <block type="check_for_line" id="wQ$`+ERCcZwDg||?Rw}y">
                <field name="check_for_line_option">3</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="transmit" id="G|HrClBuSH]a*tk8aFt|">
            <value name="for_print">
              <block type="text" id="laDsnD;#u3Ivx(Nk3)9[">
                <field name="TEXT">Black line under both sensors.</field>
              </block>
            </value>
            <next>
              <block type="move_forward_distance" id="dt!ZpBlz_vpxu^Y9GHbx">
                <field name="number_of_steps">1</field>
              </block>
            </next>
          </block>
        </statement>
        <value name="IF1">
          <block type="check_for_line" id="7W6rW|Xd53G0go*Qi{6^">
            <field name="check_for_line_option">1</field>
          </block>
        </value>
        <statement name="DO1">
          <block type="transmit" id="-{hJ_F/QQ*x,z9xv6Q}s">
            <value name="for_print">
              <block type="text" id="Zj,Qf@H;B9D$m!Eio4XT">
                <field name="TEXT">Black line under left sensor.</field>
              </block>
            </value>
            <next>
              <block type="turn_right" id="AT(*rqU*QZj9X5s;|ULn"></block>
            </next>
          </block>
        </statement>
        <value name="IF2">
          <block type="check_for_line" id="G/8w|dIA9hB;.CZ%9:r^">
            <field name="check_for_line_option">3</field>
          </block>
        </value>
        <statement name="DO2">
          <block type="transmit" id="gOdod?D|cifUVYQ$]AUw">
            <value name="for_print">
              <block type="text" id="^Xgbh#*!;dQ/6wY}i5=n">
                <field name="TEXT">Black line under right sensor.</field>
              </block>
            </value>
            <next>
              <block type="turn_left" id=".#K!-y4XA_SoFrITeurq"></block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="transmit" id="!UYr.;`63]s@c=J)`xn?">
            <value name="for_print">
              <block type="floor_sensor" id="/YhRwwt1^BD*Lw4Hlcg;">
                <field name="floor_sensor_option">3</field>
              </block>
            </value>
            <next>
              <block type="transmit" id="i):i}T{JJ^qE:CXlR|$$">
                <value name="for_print">
                  <block type="floor_sensor" id="}lh(9JJP4H(s]iMQOsi.">
                    <field name="floor_sensor_option">1</field>
                  </block>
                </value>
                <next>
                  <block type="transmit" id="I.Zv?d]?56Kw^1W,6)SN">
                    <value name="for_print">
                      <block type="floor_sensor" id="T_iEb`|x0{!zt+vjOA(S">
                        <field name="floor_sensor_option">2</field>
                      </block>
                    </value>
                    <next>
                      <block type="move_forward_distance" id="pv;T$gw/K(1ExFH]EQJJ">
                        <field name="number_of_steps">1</field>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <project>
    <title>Line Following Example</title>
    <description>This scenario uses fossbot's IR obstacle sensors for line following.</description>
  </project>
</xml>