22 #include "modules/planning/proto/reference_line_smoother_config.pb.h" 33 const ReferenceLineSmootherConfig& config);
44 const std::vector<std::pair<double, double>>& raw_point2d,
45 const std::vector<double>& bounds,
46 std::vector<std::pair<double, double>>* ptr_smoothed_point2d);
49 const std::vector<std::pair<double, double>>& raw_point2d,
50 const std::vector<double>& bounds,
51 std::vector<std::pair<double, double>>* ptr_smoothed_point2d);
53 void NormalizePoints(std::vector<std::pair<double, double>>* xy_points);
55 void DeNormalizePoints(std::vector<std::pair<double, double>>* xy_points);
57 bool GenerateRefPointProfile(
59 const std::vector<std::pair<double, double>>& xy_points,
60 std::vector<ReferencePoint>* reference_points);
62 std::vector<AnchorPoint> anchor_points_;
DiscretePointsReferenceLineSmoother(const ReferenceLineSmootherConfig &config)
virtual ~DiscretePointsReferenceLineSmoother()=default
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
Planning module main class. It processes GPS and IMU as input, to generate planning info...
Definition: discrete_points_reference_line_smoother.h:30
void SetAnchorPoints(const std::vector< AnchorPoint > &) override
bool Smooth(const ReferenceLine &raw_reference_line, ReferenceLine *const smoothed_reference_line) override
Definition: reference_line.h:39
Definition: reference_line_smoother.h:39