]> rtime.felk.cvut.cz Git - hubacji1/iamcar.git/blobdiff - base/rrtbase.cc
Add goal found setter
[hubacji1/iamcar.git] / base / rrtbase.cc
index 5fb97aea16284fc2c88286dc046c678093b59ba9..a9daa9a87c19192ca9bb744f4e2ee9dbec6458ce 100644 (file)
@@ -231,6 +231,12 @@ bool RRTBase::add_iy(RRTNode *n)
         return true;
 }
 
+bool RRTBase::goal_found(bool f)
+{
+        this->goal_found_ = f;
+        return f;
+}
+
 bool RRTBase::glplot()
 {
         glClear(GL_COLOR_BUFFER_BIT);