Apollo 11.0
自动驾驶开放平台
lane_change_util.h
浏览该文件的文档.
1/******************************************************************************
2 * Copyright 2018 The Apollo Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *****************************************************************************/
16
25#include <limits>
26
27namespace apollo {
28namespace planning {
29
30class ReferenceLineInfo;
31class Frame;
32class PlanningContext;
33
39bool IsClearToChangeLane(ReferenceLineInfo* reference_line_info);
40
51bool IsPerceptionBlocked(const ReferenceLineInfo& reference_line_info,
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);
56
65 const bool is_opt_succeed, const Frame* frame,
66 const ReferenceLineInfo* const reference_line_info,
67 PlanningContext* planning_context);
68
69bool HysteresisFilter(const double obstacle_distance,
70 const double safe_distance, const double distance_buffer,
71 const bool is_obstacle_blocking);
72
73} // namespace planning
74} // namespace apollo
Frame holds all data for one planning cycle.
Definition frame.h:62
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...
class register implement
Definition arena_queue.h:37