15 #ifndef CONCEALER__PUBLISHER_HPP_
16 #define CONCEALER__PUBLISHER_HPP_
19 #include <rclcpp/rclcpp.hpp>
23 template <
typename Message>
26 typename rclcpp::Publisher<Message>::SharedPtr publisher;
29 template <
typename Node>
31 : publisher(node.template create_publisher<Message>(topic, rclcpp::QoS(1).reliable()))
35 template <
typename... Ts>
38 return publisher->publish(std::forward<decltype(
xs)>(
xs)...);
Definition: publisher.hpp:25
Publisher(const std::string &topic, Node &node)
Definition: publisher.hpp:30
auto operator()(Ts &&... xs) const -> decltype(auto)
Definition: publisher.hpp:36
Definition: autoware_universe.hpp:40
Definition: junit5.hpp:25
std::string string
Definition: junit5.hpp:26