#include <ros/console.h>
#include <mrpt/system/datetime.h>
#include <mrpt/version.h>
#include <mrpt/utils/COutputLogger.h>
#include <log4cxx/logger.h>
Go to the source code of this file.
Namespaces | |
namespace | mrpt_bridge |
File includes methods for converting CNetworkOfPoses*DInf <=> NetworkOfPoses message types. | |
Functions | |
void | mrpt_bridge::mrptToROSLoggerCallback (const std::string &msg, const mrpt::utils::VerbosityLevel level, const std::string &loggerName, const mrpt::system::TTimeStamp timestamp, void *userParam) |
callback that is called by MRPT mrpt::utils::COuputLogger to redirect log messages to ROS logger. This function has to be inline, otherwise option log4j.logger.ros.package_name will be taken from mrpt_bridge instead of the package from which macro is actually called. | |
mrpt::utils::VerbosityLevel | mrpt_bridge::rosLoggerLvlToMRPTLoggerLvl (log4cxx::LevelPtr lvl) |
function that converts ROS verbosity level log4cxx::Level to MRPT equivalent mrpt::utils::VerbosityLevel |