Apollo  6.0
Open source self driving car software
hdmap_struct.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 
18 #include <memory>
19 #include <vector>
20 
23 
24 namespace apollo {
25 namespace perception {
26 namespace base {
27 
28 struct alignas(16) RoadBoundary {
31 };
32 
33 struct alignas(16) LaneBoundary {
36 };
37 
38 struct alignas(16) HdmapStruct {
43 };
44 
45 using HdmapStructPtr = std::shared_ptr<HdmapStruct>;
46 using HdmapStructConstPtr = std::shared_ptr<const HdmapStruct>;
47 
48 } // namespace base
49 } // namespace perception
50 } // namespace apollo
Definition: hdmap_struct.h:38
std::vector< EigenType, Eigen::aligned_allocator< EigenType > > EigenVector
Definition: eigen_defs.h:32
apollo::common::EigenVector< PointCloud< PointD > > hole_polygons
Definition: hdmap_struct.h:41
PointCloud< PointD > right_boundary
Definition: hdmap_struct.h:35
apollo::common::EigenVector< PointCloud< PointD > > road_polygons
Definition: hdmap_struct.h:40
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
Definition: hdmap_struct.h:33
std::shared_ptr< const HdmapStruct > HdmapStructConstPtr
Definition: hdmap_struct.h:46
PointCloud< PointD > left_boundary
Definition: hdmap_struct.h:29
apollo::common::EigenVector< PointCloud< PointD > > junction_polygons
Definition: hdmap_struct.h:42
Definition: hdmap_struct.h:28
apollo::common::EigenVector< RoadBoundary > road_boundary
Definition: hdmap_struct.h:39
std::shared_ptr< HdmapStruct > HdmapStructPtr
Definition: hdmap_struct.h:45
PointCloud< PointD > left_boundary
Definition: hdmap_struct.h:34
PointCloud< PointD > right_boundary
Definition: hdmap_struct.h:30