// RRT Framework
RRTNode *RRTBase::sample()
{
+#ifdef USE_SLOTPLANNER
float x = this->samplingInfo_.x;
float y = this->samplingInfo_.y;
std::normal_distribution<float> xdist(
y,
this->samplingInfo_.sh + this->samplingInfo_.dh * h
);
+#else
+ return sa1();
+#endif
}
float RRTBase::cost(RRTNode *init, RRTNode *goal)