Apollo
10.0
自动驾驶开放平台
camera_detection_component_messages.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 <memory>
19
#include <vector>
20
21
#include "
modules/common/util/eigen_defs.h
"
22
#include "
modules/perception/common/base/hdmap_struct.h
"
23
#include "
modules/perception/common/base/lane_struct.h
"
24
#include "
modules/perception/common/base/object_pool_types.h
"
25
#include "
modules/perception/common/base/traffic_light.h
"
26
#include "
modules/perception/common/camera/common/data_provider.h
"
27
28
namespace
apollo
{
29
namespace
perception {
30
namespace
onboard {
31
32
struct
CameraFrame
{
33
// Frame sequence id
34
std::uint64_t
frame_id
;
35
// Timestamp
36
double
timestamp
;
37
// Image
38
std::shared_ptr<camera::DataProvider>
data_provider
;
39
// Detection result
40
std::vector<base::ObjectPtr>
detected_objects
;
41
// appearance features for tracking
42
std::shared_ptr<base::Blob<float>>
feature_blob
=
nullptr
;
43
// intrinstic
44
Eigen::Matrix3f
camera_k_matrix
= Eigen::Matrix3f::Identity();
45
// camera to world pose
46
Eigen::Affine3d
camera2world_pose
= Eigen::Affine3d::Identity();
47
48
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
49
};
50
51
}
// namespace onboard
52
}
// namespace perception
53
}
// namespace apollo
data_provider.h
eigen_defs.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::onboard::CameraFrame
Definition
camera_detection_component_messages.h:32
apollo::perception::onboard::CameraFrame::detected_objects
std::vector< base::ObjectPtr > detected_objects
Definition
camera_detection_component_messages.h:40
apollo::perception::onboard::CameraFrame::timestamp
double timestamp
Definition
camera_detection_component_messages.h:36
apollo::perception::onboard::CameraFrame::frame_id
std::uint64_t frame_id
Definition
camera_detection_component_messages.h:34
apollo::perception::onboard::CameraFrame::feature_blob
std::shared_ptr< base::Blob< float > > feature_blob
Definition
camera_detection_component_messages.h:42
apollo::perception::onboard::CameraFrame::camera_k_matrix
Eigen::Matrix3f camera_k_matrix
Definition
camera_detection_component_messages.h:44
apollo::perception::onboard::CameraFrame::camera2world_pose
Eigen::Affine3d camera2world_pose
Definition
camera_detection_component_messages.h:46
apollo::perception::onboard::CameraFrame::data_provider
std::shared_ptr< camera::DataProvider > data_provider
Definition
camera_detection_component_messages.h:38
modules
perception
common
onboard
inner_component_messages
camera_detection_component_messages.h