27 #ifndef MPBLOCKS_DUBINS_KD_TREE_DISTANCE_HPP_
28 #define MPBLOCKS_DUBINS_KD_TREE_DISTANCE_HPP_
37 template <
typename Format>
40 using namespace curves_eigen;
42 return bestSoln.dist(m_radius);
45 template <
typename Format>
48 using namespace curves_eigen;
50 return bestSoln.dist(m_radius);
60 #endif // DEFAULTDISTANCE_H_
Format operator()(const State_t &pa, const State_t &pb)
return the dubins shortest path distance from point a to point b
Encodes a dubins path primitive, which is three connected arc segments.
Path< Format_t > solve(const Eigen::Matrix< Format_t, 3, 1 > &q0, const HyperRect< Format_t > &h, const Format_t r)
Eigen::Matrix< Format, 3, 1 > State_t