17 #ifndef NAV2_UTIL__CONTROLLER_UTILS_HPP_
18 #define NAV2_UTIL__CONTROLLER_UTILS_HPP_
20 #include "geometry_msgs/msg/pose_stamped.hpp"
21 #include "geometry_msgs/msg/point.hpp"
22 #include "nav_msgs/msg/path.hpp"
35 geometry_msgs::msg::Point circleSegmentIntersection(
36 const geometry_msgs::msg::Point & p1,
37 const geometry_msgs::msg::Point & p2,
48 geometry_msgs::msg::Point linearInterpolation(
49 const geometry_msgs::msg::Point & p1,
50 const geometry_msgs::msg::Point & p2,
51 const double target_dist);
61 geometry_msgs::msg::PoseStamped getLookAheadPoint(
62 double &,
const nav_msgs::msg::Path &,
63 const bool interpolate_after_goal =
false);