bool LaValle1998::next()
{
RRTNode *rs = this->sample();
+ this->samples().push_back(rs);
RRTNode *nn = this->nn(this->root(), rs, this->cost);
RRTNode *pn = nn;
for (auto ns: this->steer(nn, rs)) {
+ this->nodes().push_back(ns);
pn->add_child(ns, this->cost(pn, ns));
if (this->collide(pn, ns)) {
pn->children().pop_back();