9 /*! \brief Use cute_c2 for collision detection.
11 \see https://github.com/RandyGaul/cute_headers/blob/master/cute_c2.h
13 class RRTExt2 : public RRTS {
16 std::vector<c2Poly> c2_obstacles_;
21 // Collide RRT procedures
22 std::tuple<bool, unsigned int, unsigned int>
23 collide_steered_from(RRTNode &f);
25 std::tuple<bool, unsigned int, unsigned int>
26 collide_two_nodes(RRTNode &f, RRTNode &t);
29 c2Poly &c2_bc() { return this->c2_bc_; }
30 std::vector<c2Poly> &c2_obstacles() {
31 return this->c2_obstacles_;
35 /*! \brief Different costs extension.
37 Use different cost for bulding tree data structure and searching in the
40 class RRTExt1 : public RRTS {
42 /*! \brief Reeds and Shepp path length.
44 double cost_build(RRTNode &f, RRTNode &t);
45 /*! \brief Matej's heuristics.
47 double cost_search(RRTNode &f, RRTNode &t);