From f4c97ecc624d2d1e4aebb1d3f05f033405da3fa4 Mon Sep 17 00:00:00 2001 From: William Woodall Date: Fri, 29 Aug 2014 17:49:35 -0700 Subject: [PATCH] added convenience debugging macro --- rclcpp/include/rclcpp/macros.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rclcpp/include/rclcpp/macros.hpp b/rclcpp/include/rclcpp/macros.hpp index d96f5fa..ba59845 100644 --- a/rclcpp/include/rclcpp/macros.hpp +++ b/rclcpp/include/rclcpp/macros.hpp @@ -39,4 +39,6 @@ return std::make_shared(std::forward(args)...); \ } +#define RCLCPP_INFO(Args) std::cout << Args << std::endl; + #endif /* RCLCPP_RCLCPP_MACROS_HPP_ */