Apollo  6.0
Open source self driving car software
path_time_heuristic_optimizer.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Copyright 2017 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 
21 #pragma once
22 
23 #include <string>
24 
25 #include "modules/planning/proto/planning_internal.pb.h"
26 #include "modules/planning/proto/task_config.pb.h"
28 
29 namespace apollo {
30 namespace planning {
31 
38  public:
39  explicit PathTimeHeuristicOptimizer(const TaskConfig& config);
40 
41  private:
42  common::Status Process(const PathData& path_data,
43  const common::TrajectoryPoint& init_point,
44  SpeedData* const speed_data) override;
45 
46  bool SearchPathTimeGraph(SpeedData* speed_data) const;
47 
48  private:
49  common::TrajectoryPoint init_point_;
50  SLBoundary adc_sl_boundary_;
51  SpeedHeuristicOptimizerConfig speed_heuristic_optimizer_config_;
52 };
53 
54 } // namespace planning
55 } // namespace apollo
Definition: speed_optimizer.h:31
PathTimeHeuristicOptimizer(const TaskConfig &config)
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
Planning module main class. It processes GPS and IMU as input, to generate planning info...
Definition: path_data.h:36
A general class to denote the return status of an API call. It can either be an OK status for success...
Definition: status.h:43
PathTimeHeuristicOptimizer does ST graph speed planning with dynamic programming algorithm.
Definition: path_time_heuristic_optimizer.h:37
Definition: speed_data.h:30