AWViz-ROS
Loading...
Searching...
No Matches
lanelet_display.hpp
Go to the documentation of this file.
1// Copyright 2024 Kotaro Uetake.
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 AWVIZ_PLUGIN__AUTOWARE_MAP__LANELET_DISPLAY_HPP_
16#define AWVIZ_PLUGIN__AUTOWARE_MAP__LANELET_DISPLAY_HPP_
17
19
21
22#include <autoware_map_msgs/msg/lanelet_map_bin.hpp>
23
24#include <memory>
25#include <vector>
26
27namespace awviz_plugin
28{
32class LaneletDisplay : public awviz_common::RosTopicDisplay<autoware_map_msgs::msg::LaneletMapBin>
33{
34public:
39
40protected:
41 void log_message(typename autoware_map_msgs::msg::LaneletMapBin::ConstSharedPtr msg) override;
42
43private:
44 lanelet::LaneletMapPtr lanelet_map_ = std::make_shared<lanelet::LaneletMap>();
45};
46} // namespace awviz_plugin
47#endif // AWVIZ_PLUGIN__AUTOWARE_MAP__LANELET_DISPLAY_HPP_
Inherited plugin class to display ROS topics.
Definition: display.hpp:109
A display plugin for autoware_map_msgs::msg::LaneletMapBin.
Definition: lanelet_display.hpp:33
LaneletDisplay()
Construct a new object.
Definition: lanelet_display.cpp:31
void log_message(typename autoware_map_msgs::msg::LaneletMapBin::ConstSharedPtr msg) override
Definition: lanelet_display.cpp:36
Definition: conversion.hpp:27