Apollo
10.0
自动驾驶开放平台
camera_frame.h
浏览该文件的文档.
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
18
#include <memory>
19
#include <vector>
20
21
#include "
modules/perception/common/base/hdmap_struct.h
"
22
#include "
modules/perception/common/base/lane_struct.h
"
23
#include "
modules/perception/common/base/object_pool_types.h
"
24
#include "
modules/perception/common/base/traffic_light.h
"
25
#include "
modules/perception/common/camera/common/data_provider.h
"
26
27
namespace
apollo
{
28
namespace
perception {
29
namespace
camera {
30
31
struct
CameraFrame
{
32
// frame sequence id
33
std::uint64_t
frame_id
;
34
// timestamp
35
double
timestamp
;
36
std::vector<std::shared_ptr<DataProvider>>
data_provider
;
37
std::vector<base::ObjectPtr>
detected_objects
;
38
};
39
40
}
// namespace camera
41
}
// namespace perception
42
}
// namespace apollo
data_provider.h
hdmap_struct.h
lane_struct.h
apollo
class register implement
Definition
arena_queue.h:37
object_pool_types.h
traffic_light.h
apollo::perception::camera::CameraFrame
Definition
camera_frame.h:31
apollo::perception::camera::CameraFrame::frame_id
std::uint64_t frame_id
Definition
camera_frame.h:33
apollo::perception::camera::CameraFrame::timestamp
double timestamp
Definition
camera_frame.h:35
apollo::perception::camera::CameraFrame::data_provider
std::vector< std::shared_ptr< DataProvider > > data_provider
Definition
camera_frame.h:36
apollo::perception::camera::CameraFrame::detected_objects
std::vector< base::ObjectPtr > detected_objects
Definition
camera_frame.h:37
modules
perception
camera_detection_bev
camera_frame.h