From 92b6761260730e2a67f37b00689bc84847826b0d Mon Sep 17 00:00:00 2001 From: Jiri Vlasak Date: Fri, 5 Apr 2019 10:00:08 +0200 Subject: [PATCH] Fix sampling for [0, 0] init --- base/rrtbase.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/base/rrtbase.cc b/base/rrtbase.cc index 0f2461c..3d89036 100644 --- a/base/rrtbase.cc +++ b/base/rrtbase.cc @@ -874,12 +874,8 @@ std::vector RRTBase::findt(RRTNode *n) RRTNode *RRTBase::sample() { if ( - this->samplingInfo_.x && this->samplingInfo_.dx && - this->samplingInfo_.y && this->samplingInfo_.dy && - this->samplingInfo_.sh && - this->samplingInfo_.h && this->samplingInfo_.dh ) { float x = this->samplingInfo_.x; -- 2.39.2