From 7a0b3d22cee6fdf7352104ba60b54f3666f81ac3 Mon Sep 17 00:00:00 2001 From: Jiri Vlasak Date: Fri, 21 Dec 2018 09:55:04 +0100 Subject: [PATCH] Add commented options for nn, cusps --- base/rrtbase.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base/rrtbase.cc b/base/rrtbase.cc index 706eab2..f4b5720 100644 --- a/base/rrtbase.cc +++ b/base/rrtbase.cc @@ -621,6 +621,7 @@ bool RRTBase::opt_path() tmp_cusps.push_back(n); tmp_cusps.push_back(n->parent()); } + //tmp_cusps.push_back(n); } if (tmp_cusps.size() < 2) return false; @@ -741,6 +742,7 @@ float RRTBase::cost(RRTNode *init, RRTNode *goal) RRTNode *RRTBase::nn(RRTNode *rs) { return nn4(this->iy_, rs, nullptr); + //return nn3(this->iy_, rs, nullptr); } std::vector RRTBase::nv(RRTNode *node, float dist) -- 2.39.2