Autoware.Auto
had_map_utils.hpp
Go to the documentation of this file.
1 // Copyright 2020 Tier IV, Inc
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 #ifndef HAD_MAP_UTILS__HAD_MAP_UTILS_HPP_
16 #define HAD_MAP_UTILS__HAD_MAP_UTILS_HPP_
17 
18 
19 #include <lanelet2_core/LaneletMap.h>
20 #include <lanelet2_core/primitives/Point.h>
21 #include <lanelet2_core/utility/Units.h>
22 #include <common/types.hpp>
23 
24 #include <cmath>
26 
27 namespace autoware
28 {
29 namespace common
30 {
31 namespace had_map_utils
32 {
33 
35 
36 void HAD_MAP_UTILS_PUBLIC overwriteLaneletsCenterline(
37  lanelet::LaneletMapPtr lanelet_map, const autoware::common::types::bool8_t force_overwrite);
38 lanelet::LineString3d HAD_MAP_UTILS_PUBLIC generateFineCenterline(
39  const lanelet::ConstLanelet & lanelet_obj, const float64_t resolution);
40 
41 } // namespace had_map_utils
42 } // namespace common
43 } // namespace autoware
44 
45 #endif // HAD_MAP_UTILS__HAD_MAP_UTILS_HPP_
autoware::common::had_map_utils::overwriteLaneletsCenterline
void HAD_MAP_UTILS_PUBLIC overwriteLaneletsCenterline(lanelet::LaneletMapPtr lanelet_map, const autoware::common::types::bool8_t force_overwrite)
Definition: had_map_utils.cpp:161
types.hpp
This file includes common type definition.
autoware::common::had_map_utils::generateFineCenterline
lanelet::LineString3d HAD_MAP_UTILS_PUBLIC generateFineCenterline(const lanelet::ConstLanelet &lanelet_obj, const float64_t resolution)
Definition: had_map_utils.cpp:132
visibility_control.hpp
autoware::common::types::bool8_t
bool bool8_t
Definition: types.hpp:39
autoware
This file defines the lanelet2_map_provider_node class.
Definition: quick_sort.hpp:24
autoware::common::types::float64_t
double float64_t
Definition: types.hpp:47