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
27
28namespace apollo {
29namespace perception {
30namespace onboard {
31
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
class register implement
Definition arena_queue.h:37
std::shared_ptr< camera::DataProvider > data_provider