1#ifndef SRC_PLANNING_INCLUDE_CONFIG_SMOOTHING_CONFIG_HPP_
2#define SRC_PLANNING_INCLUDE_CONFIG_SMOOTHING_CONFIG_HPP_
89 float min_path_point_distance,
bool use_path_smoothing,
bool use_optimization,
90 double car_width,
double safety_margin,
double curvature_weight,
91 double safety_weight,
int max_iterations,
double tolerance)
Configuration parameters for the Path Smoothing class.
double curvature_weight_
Weight for curvature minimization in the optimization cost function.
double car_width_
Vehicle width in meters.
double safety_weight_
Weight for safety distance from obstacles in the optimization cost function.
double safety_margin_
Additional safety clearance in meters.
PathSmoothingConfig(int spline_precision, int spline_order, float spline_coeffs_ratio, float min_path_point_distance, bool use_path_smoothing, bool use_optimization, double car_width, double safety_margin, double curvature_weight, double safety_weight, int max_iterations, double tolerance)
Parameterized constructor.
PathSmoothingConfig()
Default constructor.
double tolerance_
Convergence tolerance for the optimization solver.
bool use_optimization_
Flag to enable/disable optimization-based refinement after spline fitting.
float spline_coeffs_ratio_
Ratio between number of spline coefficients and input points.
int spline_order_
Order of the B-spline used for smoothing.
int max_iterations_
Maximum number of iterations for the optimization solver.
bool use_path_smoothing_
Flag to enable/disable spline-based path smoothing.
float min_path_point_distance_
Minimum distance between consecutive path points after smoothing.
int spline_precision_
Number of interpolated points between each pair of input points.