Function rmf_traffic::agv::interpolate_time_along_quadratic_straight_line
Defined in File Interpolate.hpp
Function Documentation
-
TimeVelocity rmf_traffic::agv::interpolate_time_along_quadratic_straight_line(const Trajectory &trajectory, const Eigen::Vector2d &position, double holding_point_tolerance = 0.05)
This function only works correctly if the trajectory follows a straight line trajectory with zero jerk (cubic coefficient) and the position lies along the trajectory.