47 float minDist = FLT_MAX;
70 Eigen::Vector2d pa = _s.
start - _p;
78 Eigen::Vector2d bp = _p - _s.
goal;
85 Eigen::Vector2d e = pa - n * (c / n.dot(n));
int getStep(const Eigen::Vector2d &_odom, bool &_changed)
int init(const std::vector< PathSegment > &_path)
std::vector< PathSegment > path_
float distanceToSegment(PathSegment _s, Eigen::Vector2d _p)