27 #include "modules/planning/proto/planning.pb.h" 28 #include "modules/planning/proto/reference_line_smoother_config.pb.h" 39 const ReferenceLineSmootherConfig& config);
46 void SetAnchorPoints(
const std::vector<AnchorPoint>& anchor_points)
override;
59 bool ExtractEvaluatedPoints(
60 const ReferenceLine& raw_reference_line,
const std::vector<double>& vec_t,
61 std::vector<common::PathPoint>*
const path_points)
const;
63 bool GetSFromParamT(
const double t,
double*
const s)
const;
65 std::uint32_t FindIndex(
const double t)
const;
68 std::vector<double> t_knots_;
69 std::vector<AnchorPoint> anchor_points_;
70 std::unique_ptr<Spline2dSolver> spline_solver_;
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: qp_spline_reference_line_smoother.h:36
bool Smooth(const ReferenceLine &raw_reference_line, ReferenceLine *const smoothed_reference_line) override
void SetAnchorPoints(const std::vector< AnchorPoint > &anchor_points) override
Definition: reference_line.h:39
virtual ~QpSplineReferenceLineSmoother()=default
Definition: reference_line_smoother.h:39
QpSplineReferenceLineSmoother(const ReferenceLineSmootherConfig &config)