Apollo  v5.5.0
Open source self driving car software
measurement_collection.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 
19 
20 namespace apollo {
21 namespace perception {
22 namespace lidar {
23 
24 // @brief: measure anchor point velocity
25 // @params [in/out]: new object for current updating
26 // @params [in]: old object for last updating
27 // @params [in]: time interval from last updating
29  const TrackedObjectConstPtr& old_object,
30  const double& time_diff);
31 
32 // @brief: measure bbox center velocity
33 // @params [in/out]: new object for current updating
34 // @params [in]: old object for last updating
35 // @params [in]: time interval from last updating
37  const TrackedObjectConstPtr& old_object,
38  const double& time_diff);
39 
40 // @brief: measure bbox corner velocity
41 // @params [in/out]: new object for current updating
42 // @params [in]: old object for last updating
43 // @params [in]: time interval from last updating
45  const TrackedObjectConstPtr& old_object,
46  const double& time_diff);
47 
48 } // namespace lidar
49 } // namespace perception
50 } // namespace apollo
void MeasureAnchorPointVelocity(TrackedObjectPtr new_object, const TrackedObjectConstPtr &old_object, const double &time_diff)
Definition: blob.h:72
void MeasureBboxCornerVelocity(TrackedObjectPtr new_object, const TrackedObjectConstPtr &old_object, const double &time_diff)
std::shared_ptr< const TrackedObject > TrackedObjectConstPtr
Definition: tracked_object.h:153
std::shared_ptr< TrackedObject > TrackedObjectPtr
Definition: tracked_object.h:152
void MeasureBboxCenterVelocity(TrackedObjectPtr new_object, const TrackedObjectConstPtr &old_object, const double &time_diff)