ss--;
just_added = just_added->p();
}
-
+#if 1 // test if root -> just_added can be steered directly
+ this->steer(this->nodes_.front(), *just_added);
+ ss = this->steered_.size();
+ if (!this->collide_steered() && this->steered_.size() == ss) {
+ this->join_steered(&this->nodes_.front());
+ just_added->p(this->nodes_.back());
+ just_added->c(this->cost_build(this->nodes_.back(),
+ *just_added));
+ }
+#endif
////if (!this->goal_drivable_from(this->nodes_.back())) {
//// return this->should_continue();
////}