Apollo  6.0
Open source self driving car software
base_lidar_obstacle_tracking.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Copyright 2021 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 <memory>
19 #include <string>
20 
21 #include "cyber/common/macros.h"
25 
26 namespace apollo {
27 namespace perception {
28 namespace lidar {
29 
31  std::string sensor_name = "velodyne64";
32 };
33 
35  std::string sensor_name = "velodyne64";
36 };
37 
39  public:
40  BaseLidarObstacleTracking() = default;
41  virtual ~BaseLidarObstacleTracking() = default;
42 
43  virtual bool Init(
44  const LidarObstacleTrackingInitOptions& options =
46 
47  virtual LidarProcessResult Process(
48  const LidarObstacleTrackingOptions& options,
49  LidarFrame* frame) = 0;
50 
51  virtual std::string Name() const = 0;
52 
53  private:
55 }; // class BaseLidarObstacleTracking
56 
58 #define PERCEPTION_REGISTER_LIDAROBSTACLETRACKING(name) \
59  PERCEPTION_REGISTER_CLASS(BaseLidarObstacleTracking, name)
60 
61 } // namespace lidar
62 } // namespace perception
63 } // namespace apollo
std::string sensor_name
Definition: base_lidar_obstacle_tracking.h:31
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
#define DISALLOW_COPY_AND_ASSIGN(classname)
Definition: macros.h:48
Definition: base_lidar_obstacle_tracking.h:38
Definition: base_lidar_obstacle_tracking.h:30
bool Init(const char *binary_name)
PERCEPTION_REGISTER_REGISTERER(BaseOneShotTypeFusion)
Definition: lidar_frame.h:33
Definition: base_lidar_obstacle_tracking.h:34
Definition: lidar_error_code.h:36