Carma-platform v4.2.0
CARMA Platform is built on robot operating system (ROS) and utilizes open source software (OSS) that enables Cooperative Driving Automation (CDA) features to allow Automated Driving Systems to interact and cooperate with infrastructure and other vehicles through communication.
detection_list_viz_component.hpp
Go to the documentation of this file.
1// Copyright 2024 Leidos
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 CARMA_COOPERATIVE_PERCEPTION__DETECTION_LIST_VIZ_COMPONENT_HPP_
16#define CARMA_COOPERATIVE_PERCEPTION__DETECTION_LIST_VIZ_COMPONENT_HPP_
17
18#include <carma_cooperative_perception_interfaces/msg/detection_list.hpp>
19#include <rclcpp/rclcpp.hpp>
20#include <visualization_msgs/msg/marker_array.hpp>
21
23{
24class DetectionListVizNode : public rclcpp::Node
25{
26public:
27 explicit DetectionListVizNode(const rclcpp::NodeOptions & options);
28
29private:
30 rclcpp::Subscription<carma_cooperative_perception_interfaces::msg::DetectionList>::SharedPtr
32
33 rclcpp::Publisher<visualization_msgs::msg::MarkerArray>::SharedPtr marker_pub_{nullptr};
34};
35} // namespace carma_cooperative_perception
36
37#endif // CARMA_COOPERATIVE_PERCEPTION__DETECTION_LIST_VIZ_COMPONENT_HPP_
rclcpp::Publisher< visualization_msgs::msg::MarkerArray >::SharedPtr marker_pub_
rclcpp::Subscription< carma_cooperative_perception_interfaces::msg::DetectionList >::SharedPtr detection_list_sub_