/a><span class="lineno">  156</span>&#160;  <span class="keywordflow">if</span> (x_dir &amp;&amp; !y_dir)</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;  {</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;    <span class="keywordflow">if</span> (costs[<a class="code" href="classrmp_1_1path__planner_1_1PathPlanner.html#a59f59f8c3b404685e0407a9218d8bf7c">grid2Index</a>(<a class="code" href="namespaceFakeAMCL.html#a7296b79dbd0fb71ff3cd0b7