30class ReferenceLineInfo;
52 const double search_beam_length,
53 const double search_beam_radius_intensity,
54 const double search_range,
55 const double is_block_angle_threshold);
65 const bool is_opt_succeed,
const Frame* frame,
70 const double safe_distance,
const double distance_buffer,
71 const bool is_obstacle_blocking);
Frame holds all data for one planning cycle.
ReferenceLineInfo holds all data for one reference line.
Planning module main class.
bool IsClearToChangeLane(ReferenceLineInfo *reference_line_info)
A static function to check if the ChangeLanePath type of reference line is safe or if current referen...
void UpdatePreparationDistance(const bool is_opt_succeed, const Frame *frame, const ReferenceLineInfo *const reference_line_info, PlanningContext *planning_context)
A static function to update the prepararion distance for lane change
bool HysteresisFilter(const double obstacle_distance, const double safe_distance, const double distance_buffer, const bool is_obstacle_blocking)
bool IsPerceptionBlocked(const ReferenceLineInfo &reference_line_info, const double search_beam_length, const double search_beam_radius_intensity, const double search_range, const double is_block_angle_threshold)
A static function to estimate if an obstacle in certain range in front of ADV blocks too much space p...