}
std::vector<RRTNode *> st3(RRTNode *init, RRTNode *goal)
+{
+ return st3(init, goal, ST3STEP);
+}
+
+std::vector<RRTNode *> st3(RRTNode *init, RRTNode *goal, float step)
{
std::vector<RRTNode *> nodes;
double q0[] = {init->x(), init->y(), init->h()};
double q1[] = {goal->x(), goal->y(), goal->h()};
ReedsSheppStateSpace rsss(ST3TURNINGRADIUS);
- rsss.sample(q0, q1, ST3STEP, cb_st3, &nodes);
+ rsss.sample(q0, q1, step, cb_st3, &nodes);
return nodes;
}