21namespace waypoint_generation
34 const carma_planning_msgs::msg::VehicleState& state);
45 const carma_planning_msgs::msg::VehicleState& state);
67 std::vector<lanelet::BasicPoint2d>* basic_points,
68 std::vector<double>* speeds);
83 const carma_planning_msgs::msg::VehicleState& state);
98 const carma_planning_msgs::msg::VehicleState& state);
void split_point_speed_pairs(const std::vector< PointSpeedPair > &points, std::vector< lanelet::BasicPoint2d > *basic_points, std::vector< double > *speeds)
Helper method to split a list of PointSpeedPair into separate point and speed lists.
int get_nearest_point_index(const std::vector< lanelet::BasicPoint2d > &points, const carma_planning_msgs::msg::VehicleState &state)
Returns the nearest point (in terms of cartesian 2d distance) to the provided vehicle pose in the pro...
int get_nearest_index_by_downtrack(const std::vector< lanelet::BasicPoint2d > &points, const carma_wm::WorldModelConstPtr &wm, double target_downtrack)
Returns the nearest "less than" point to the provided vehicle pose in the provided list by utilizing ...
std::shared_ptr< const WorldModel > WorldModelConstPtr