]> rtime.felk.cvut.cz Git - hubacji1/rrts.git/blobdiff - src/rrts.cc
Finish when goal found
[hubacji1/rrts.git] / src / rrts.cc
index 5a40b085cf05985b6df29c96405b35098f3c9bde..795211edb33760482184e85aa464d2c1786ed36c 100644 (file)
@@ -90,7 +90,7 @@ bool RRTS::should_finish()
         if (this->icnt_ > 1000) return true;
         //if (this->scnt_ > 2) return true;
         if (this->finishit) return true;
-        //if (this->gf()) return true;
+        if (this->gf()) return true;
         // but continue by default
         return false;
 }