Apollo  6.0
Open source self driving car software
dummy_multi_target_tracker.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 
17 #pragma once
18 
19 #include <string>
20 
22 
23 namespace apollo {
24 namespace perception {
25 namespace lidar {
26 
28  public:
29  DummyMultiTargetTracker() = default;
30 
31  virtual ~DummyMultiTargetTracker() = default;
32 
33  bool Init(const MultiTargetTrackerInitOptions& options =
35 
36  // @brief: track segmented objects, and estimate motion
37  // @param [in]: options
38  // @param [in/out]: tracked object
39  // tracked objects should be filled, required,
40  bool Track(const MultiTargetTrackerOptions& options,
41  LidarFrame* frame) override;
42 
43  std::string Name() const override { return "DummyMultiTargetTracker"; }
44 
45  private:
46  int id_ = 0;
47 }; // class DummyMultiTargetTracker
48 
49 } // namespace lidar
50 } // namespace perception
51 } // namespace apollo
bool Track(const MultiTargetTrackerOptions &options, LidarFrame *frame) override
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
Definition: base_multi_target_tracker.h:27
Definition: base_multi_target_tracker.h:31
std::string Name() const override
Definition: dummy_multi_target_tracker.h:43
Definition: base_multi_target_tracker.h:29
Definition: lidar_frame.h:33
Definition: dummy_multi_target_tracker.h:27
bool Init(const MultiTargetTrackerInitOptions &options=MultiTargetTrackerInitOptions()) override