Apollo 10.0
自动驾驶开放平台
mrf_motion_measurement.h
浏览该文件的文档.
1/******************************************************************************
2 * Copyright 2023 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 "cyber/common/macros.h"
21
22namespace apollo {
23namespace perception {
24namespace radar4d {
25
27 public:
36 void ComputeMotionMeasurment(const MrfTrackDataConstPtr& track_data,
37 TrackedObjectPtr new_object);
38
39 protected:
47 void MeasurementSelection(const MrfTrackDataConstPtr& track_data,
48 const TrackedObjectConstPtr& latest_object,
49 TrackedObjectPtr new_object);
57 TrackedObjectPtr new_object);
58
59 private:
60 const double EPSILON_TIME = 1e-3; // or numeric_limits<double>::epsilon()
61 const double DEFAULT_FPS = 0.1;
63}; // class MrfMotionMeasurement
64
65} // namespace radar4d
66} // namespace perception
67} // namespace apollo
void MeasurementSelection(const MrfTrackDataConstPtr &track_data, const TrackedObjectConstPtr &latest_object, TrackedObjectPtr new_object)
Select measurement based on track history
void ComputeMotionMeasurment(const MrfTrackDataConstPtr &track_data, TrackedObjectPtr new_object)
Wrapper of motion measurement functions
void MeasurementQualityEstimation(const TrackedObjectConstPtr &latest_object, TrackedObjectPtr new_object)
Estimate measurement quality
#define DISALLOW_COPY_AND_ASSIGN(classname)
Definition macros.h:48
std::shared_ptr< const TrackedObject > TrackedObjectConstPtr
std::shared_ptr< TrackedObject > TrackedObjectPtr
std::shared_ptr< const MrfTrackData > MrfTrackDataConstPtr
class register implement
Definition arena_queue.h:37