Apollo  v5.5.0
Open source self driving car software
obstacle_multi_sensor_fusion.h
Go to the documentation of this file.
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 #pragma once
17 
18 #include <string>
19 #include <vector>
20 
22 
23 namespace apollo {
24 namespace perception {
25 namespace fusion {
26 
28  std::string main_sensor;
29  std::string fusion_method;
30 };
31 
33  public:
34  ObstacleMultiSensorFusion() = default;
35  ~ObstacleMultiSensorFusion() = default;
38  delete;
39  bool Init(const ObstacleMultiSensorFusionParam& param);
40  bool Process(const base::FrameConstPtr& frame,
41  std::vector<base::ObjectPtr>* objects);
42 
43  std::string Name() const { return "ObstacleMultiSensorFusion"; }
44 
45  protected:
46  BaseFusionSystem* fusion_ = nullptr;
47 };
48 
49 } // namespace fusion
50 } // namespace perception
51 } // namespace apollo
Definition: base_fusion_system.h:37
Definition: blob.h:72
std::string Name() const
Definition: obstacle_multi_sensor_fusion.h:43
std::shared_ptr< const Frame > FrameConstPtr
Definition: frame.h:59
Definition: obstacle_multi_sensor_fusion.h:32
std::string main_sensor
Definition: obstacle_multi_sensor_fusion.h:28
Definition: obstacle_multi_sensor_fusion.h:27
std::string fusion_method
Definition: obstacle_multi_sensor_fusion.h:29