utils.cpp
Go to the documentation of this file.
00001 //
00002 // Created by tom on 03/04/16.
00003 //
00004 
00005 #include "robotican_controllers/utils.h"
00006 
00007 
00008 void rosUtil::rosInfo(const char *info) {
00009     ROS_INFO("[%s]: %s", ros::this_node::getName().c_str(), info);
00010 }
00011 
00012 void rosUtil::rosError(const char *err) {
00013     ROS_ERROR("[%s]: %s", ros::this_node::getName().c_str(), err);
00014 }
00015 
00016 
00017 void rosUtil::rosWarn(const char *warn) {
00018     ROS_WARN("[%s]: %s", ros::this_node::getName().c_str(), warn);
00019 }
00020 
00021 template <typename T>
00022 void rosUtil::rosInfoStream(T &obj) {
00023     ROS_INFO_STREAM("["<< ros::this_node::getName()  << "]: " << obj);
00024 }


robotican_controllers
Author(s):
autogenerated on Fri Oct 27 2017 03:02:40