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 virtual RRTS {
17 std::vector<c2Poly> c2_obstacles_;
22 // Collide RRT procedures
23 std::tuple<bool, unsigned int, unsigned int>
24 collide_steered_from(RRTNode &f);
26 std::tuple<bool, unsigned int, unsigned int>
27 collide_two_nodes(RRTNode &f, RRTNode &t);
30 c2Poly &c2_bc() { return this->c2_bc_; }
31 c2x &c2x_bc() { return this->c2x_bc_; }
32 std::vector<c2Poly> &c2_obstacles() {
33 return this->c2_obstacles_;
37 /*! \brief Different costs extension.
39 Use different cost for bulding tree data structure and searching in the
42 class RRTExt1 : public virtual RRTS {
44 /*! \brief Reeds and Shepp path length.
46 double cost_build(RRTNode &f, RRTNode &t);
47 /*! \brief Matej's heuristics.
49 double cost_search(RRTNode &f, RRTNode &t);