35 const uint32_t spline_order);
39 bool AddKernel(
const Eigen::MatrixXd& kernel,
const Eigen::MatrixXd&
offset,
41 bool AddKernel(
const Eigen::MatrixXd& kernel,
const double weight);
47 const Eigen::MatrixXd
offset()
const;
56 const std::vector<double>& t_coord,
57 const std::vector<common::math::Vec2d>& ref_points,
const double weight);
60 void AddNthDerivativeKernelMatrix(
const uint32_t n,
const double weight);
61 uint32_t find_index(
const double x)
const;
64 Eigen::MatrixXd kernel_matrix_;
65 Eigen::MatrixXd offset_;
66 std::vector<double> t_knots_;
67 uint32_t spline_order_;
bool AddReferenceLineKernelMatrix(const std::vector< double > &t_coord, const std::vector< common::math::Vec2d > &ref_points, const double weight)
: piecewise smoothing spline 2d class
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
bool AddKernel(const Eigen::MatrixXd &kernel, const Eigen::MatrixXd &offset, const double weight)
Planning module main class. It processes GPS and IMU as input, to generate planning info...
Eigen::MatrixXd kernel_matrix() const
Definition: spline_2d_kernel.h:32
Eigen::MatrixXd * mutable_kernel_matrix()
const Eigen::MatrixXd offset() const
Eigen::MatrixXd * mutable_offset()
void AddThirdOrderDerivativeMatrix(const double weight)
Spline2dKernel(const std::vector< double > &t_knots, const uint32_t spline_order)
void AddSecondOrderDerivativeMatrix(const double weight)
void AddRegularization(const double regularization_param)
void AddDerivativeKernelMatrix(const double weight)