Program Listing for File ros_logs.hpp

Return to documentation for file (include/yasmin_ros/ros_logs.hpp)

// Copyright (C) 2024 Miguel Ángel González Santamarta
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <https://www.gnu.org/licenses/>.

#ifndef YASMIN_ROS__LOGS_HPP
#define YASMIN_ROS__LOGS_HPP

#include "rclcpp/rclcpp.hpp"

namespace yasmin_ros {

extern rclcpp::Node *logger_node;

void set_ros_loggers(rclcpp::Node::SharedPtr node = nullptr);

} // namespace yasmin_ros

#endif // YASMIN_ROS__LOGS_HPP