1#ifndef SRC_PLANNING_INCLUDE_CONFIG_PATH_CALCULATION_CONFIG_HPP_
2#define SRC_PLANNING_INCLUDE_CONFIG_PATH_CALCULATION_CONFIG_HPP_
100 double angle_gain,
double distance_gain,
double angle_exponent,
101 double distance_exponent,
double max_cost,
double minimum_point_distance,
102 int lookback_points,
int search_depth,
int max_points,
int reset_interval,
103 bool use_reset_path,
double close_cost)
Configuration parameters for the Midpoint Generator class.
int max_points_
Maximum number of points added in an iteration.
int lookback_points_
Number of recent path points discarded and recalculated each iteration.
double angle_exponent_
Exponent applied to the angle term in the cost function.
double distance_exponent_
Exponent applied to the distance term in the cost function.
double minimum_point_distance_
Minimum allowed distance between consecutive points in the generated path.
PathCalculationConfig(const MidpointGeneratorConfig &mg_config, bool use_sliding_window, double angle_gain, double distance_gain, double angle_exponent, double distance_exponent, double max_cost, double minimum_point_distance, int lookback_points, int search_depth, int max_points, int reset_interval, bool use_reset_path, double close_cost)
Parameterized constructor.
double angle_gain_
Gain applied to the angle term in the cost function.
double distance_gain_
Gain applied to the distance term in the cost function.
double close_cost_
Cost threshold to determine whether the path is considered closed.
MidpointGeneratorConfig midpoint_generator_
Configuration for the Midpoint Generator class.
int reset_interval_
Number of iterations before triggering a full path regeneration.
double max_cost_
Maximum allowed cost for a path.
PathCalculationConfig()
Default constructor.
bool use_sliding_window_
Flag to enable/disable the sliding window for path calculation.
bool use_reset_path_
Flag to enable/disable path reset logic.
int search_depth_
Maximum search depth when exploring candidate paths.