]> rtime.felk.cvut.cz Git - hubacji1/rrts.git/commitdiff
Finish when goal found
authorJiri Vlasak <hubacji1@fel.cvut.cz>
Mon, 12 Jul 2021 11:24:38 +0000 (13:24 +0200)
committerJiri Vlasak <hubacji1@fel.cvut.cz>
Mon, 12 Jul 2021 11:24:40 +0000 (13:24 +0200)
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;
 }