Autoware.Auto
had_map_conversion.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_CONVERSION_HPP_
16 #define HAD_MAP_UTILS__HAD_MAP_CONVERSION_HPP_
17 
18 #include <autoware_auto_mapping_msgs/msg/had_map_bin.hpp>
19 #include <lanelet2_core/LaneletMap.h>
20 #include <memory>
22 
23 namespace autoware
24 {
25 namespace common
26 {
27 namespace had_map_utils
28 {
29 
30 void HAD_MAP_UTILS_PUBLIC toBinaryMsg(
31  const std::shared_ptr<lanelet::LaneletMap> & map,
32  autoware_auto_mapping_msgs::msg::HADMapBin & msg);
33 
34 void HAD_MAP_UTILS_PUBLIC fromBinaryMsg(
35  const autoware_auto_mapping_msgs::msg::HADMapBin & msg,
36  std::shared_ptr<lanelet::LaneletMap> & map);
37 
38 } // namespace had_map_utils
39 } // namespace common
40 } // namespace autoware
41 
42 #endif // HAD_MAP_UTILS__HAD_MAP_CONVERSION_HPP_
visibility_control.hpp
autoware::common::had_map_utils::toBinaryMsg
void HAD_MAP_UTILS_PUBLIC toBinaryMsg(const std::shared_ptr< lanelet::LaneletMap > &map, autoware_auto_mapping_msgs::msg::HADMapBin &msg)
Definition: had_map_conversion.cpp:40
autoware
This file defines the lanelet2_map_provider_node class.
Definition: quick_sort.hpp:24
autoware::common::had_map_utils::fromBinaryMsg
void HAD_MAP_UTILS_PUBLIC fromBinaryMsg(const autoware_auto_mapping_msgs::msg::HADMapBin &msg, std::shared_ptr< lanelet::LaneletMap > &map)
Definition: had_map_conversion.cpp:56