Apollo 10.0
自动驾驶开放平台
base_matcher.cc
浏览该文件的文档.
1/******************************************************************************
2 * Copyright 2024 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 *****************************************************************************/
17
18#include <numeric>
19
20namespace apollo {
21namespace perception {
22namespace camera {
23
26
30
32
36
38
40 double track_timestamp,
41 const base::ObjectPtr &camera_object,
42 double camera_timestamp) {
43 // This function is supposed to return true in the base class.
44 // Specific actions can be overrided in derived classes.
45 return true;
46}
47
48} // namespace camera
49} // namespace perception
50} // namespace apollo
static void SetBoundMatchDistance(double dist)
Set the Bound Match Distance
static double GetBoundMatchDistance()
Get the Bound Match Distance
virtual bool RefinedTrack(const base::ObjectPtr &track_object, double track_timestamp, const base::ObjectPtr &camera_object, double camera_timestamp)
track targets based on their features.
static void SetMaxMatchDistance(double dist)
Set the Max Match Distance
static double GetMaxMatchDistance()
Get the Max Match Distance
std::shared_ptr< Object > ObjectPtr
Definition object.h:127
class register implement
Definition arena_queue.h:37