gon = p.p_goal_.goal()->parent();
mc = p.p_goal_.goal()->ccost();
}
+ p.root()->remove_parent(); // needed if p.p_goal_.goal_found()
+ p.root()->ccost(0);
+ p.goal()->children().clear();
// connect trees
while (gon != p.goal()) {
p.p_root_.nodes().push_back(new RRTNode(
}
ron->add_child(p.goal(), p.p_root_.cost(ron, p.goal()));
// end of connect trees
- p.root()->remove_parent(); // needed if p.p_goal_.goal_found()
if (gf)
p.tlog(p.findt());
if (p.opt_path())