MRPT
2.0.4
|
#include <mrpt/core/Clock.h>
#include <mrpt/system/CTicTac.h>
#include <mrpt/system/os.h>
#include <mrpt/typemeta/TEnumType.h>
#include <array>
#include <deque>
#include <functional>
#include <iosfwd>
#include <sstream>
#include <string>
#include <string_view>
Go to the source code of this file.
Classes | |
class | mrpt::system::COutputLogger |
Versatile class for consistent logging and management of output messages. More... | |
struct | mrpt::system::COutputLogger::TMsg |
Struct responsible of holding information relevant to the message (in std::string form) issued by the user. More... | |
struct | mrpt::system::COutputLoggerStreamWrapper |
For use in MRPT_LOG_DEBUG_STREAM(), etc. More... | |
Namespaces | |
mrpt::system | |
Macros | |
#define | INTERNAL_MRPT_LOG(_LVL, _STRING) this->logStr(_LVL, _STRING) |
#define | INTERNAL_MRPT_LOG_ONCE(_LVL, _STRING) |
#define | INTERNAL_MRPT_LOG_FMT(_LVL, _FMT_STRING, ...) |
#define | INTERNAL_MRPT_LOG_STREAM(_LVL, __CONTENTS) |
#define | INTERNAL_MRPT_LOG_THROTTLE(_LVL, _PERIOD_SECONDS, _STRING) |
#define | INTERNAL_MRPT_LOG_THROTTLE_STREAM(_LVL, _PERIOD_SECONDS, __CONTENTS) |
#define | INTERNAL_MRPT_LOG_THROTTLE_FMT( _LVL, _PERIOD_SECONDS, _FMT_STRING, ...) |
#define | MRPT_LOG_DEBUG(_STRING) INTERNAL_MRPT_LOG(::mrpt::system::LVL_DEBUG, _STRING) |
Use: MRPT_LOG_DEBUG("message"); More... | |
#define | MRPT_LOG_INFO(_STRING) INTERNAL_MRPT_LOG(::mrpt::system::LVL_INFO, _STRING) |
#define | MRPT_LOG_WARN(_STRING) INTERNAL_MRPT_LOG(::mrpt::system::LVL_WARN, _STRING) |
#define | MRPT_LOG_ERROR(_STRING) INTERNAL_MRPT_LOG(::mrpt::system::LVL_ERROR, _STRING) |
#define | MRPT_LOG_ONCE_DEBUG(_STRING) INTERNAL_MRPT_LOG_ONCE(::mrpt::system::LVL_DEBUG, _STRING) |
Use: MRPT_LOG_ONCE_DEBUG("once-only message"); More... | |
#define | MRPT_LOG_ONCE_INFO(_STRING) INTERNAL_MRPT_LOG_ONCE(::mrpt::system::LVL_INFO, _STRING) |
#define | MRPT_LOG_ONCE_WARN(_STRING) INTERNAL_MRPT_LOG_ONCE(::mrpt::system::LVL_WARN, _STRING) |
#define | MRPT_LOG_ONCE_ERROR(_STRING) INTERNAL_MRPT_LOG_ONCE(::mrpt::system::LVL_ERROR, _STRING) |
#define | MRPT_LOG_THROTTLE_DEBUG(_PERIOD_SECONDS, _STRING) |
Use: MRPT_LOG_THROTTLE_DEBUG(5.0, "message"); More... | |
#define | MRPT_LOG_THROTTLE_INFO(_PERIOD_SECONDS, _STRING) |
#define | MRPT_LOG_THROTTLE_WARN(_PERIOD_SECONDS, _STRING) |
#define | MRPT_LOG_THROTTLE_ERROR(_PERIOD_SECONDS, _STRING) |
#define | MRPT_LOG_DEBUG_FMT(_FMT_STRING, ...) INTERNAL_MRPT_LOG_FMT(::mrpt::system::LVL_DEBUG, _FMT_STRING, __VA_ARGS__) |
Use: MRPT_LOG_DEBUG_FMT("i=%u", i); More... | |
#define | MRPT_LOG_INFO_FMT(_FMT_STRING, ...) INTERNAL_MRPT_LOG_FMT(::mrpt::system::LVL_INFO, _FMT_STRING, __VA_ARGS__) |
#define | MRPT_LOG_WARN_FMT(_FMT_STRING, ...) INTERNAL_MRPT_LOG_FMT(::mrpt::system::LVL_WARN, _FMT_STRING, __VA_ARGS__) |
#define | MRPT_LOG_ERROR_FMT(_FMT_STRING, ...) INTERNAL_MRPT_LOG_FMT(::mrpt::system::LVL_ERROR, _FMT_STRING, __VA_ARGS__) |
#define | MRPT_LOG_DEBUG_STREAM(__CONTENTS) INTERNAL_MRPT_LOG_STREAM(::mrpt::system::LVL_DEBUG, __CONTENTS) |
Use: MRPT_LOG_DEBUG_STREAM("Var=" << value << " foo=" << foo_var); More... | |
#define | MRPT_LOG_INFO_STREAM(__CONTENTS) INTERNAL_MRPT_LOG_STREAM(::mrpt::system::LVL_INFO, __CONTENTS) |
#define | MRPT_LOG_WARN_STREAM(__CONTENTS) INTERNAL_MRPT_LOG_STREAM(::mrpt::system::LVL_WARN, __CONTENTS) |
#define | MRPT_LOG_ERROR_STREAM(__CONTENTS) INTERNAL_MRPT_LOG_STREAM(::mrpt::system::LVL_ERROR, __CONTENTS) |
#define | MRPT_LOG_THROTTLE_DEBUG_STREAM(_PERIOD_SECONDS, __CONTENTS) |
Usage: MRPT_LOG_THROTTLE_DEBUG_STREAM(5.0, "Var=" << value << " foo=" << foo_var); More... | |
#define | MRPT_LOG_THROTTLE_INFO_STREAM(_PERIOD_SECONDS, __CONTENTS) |
#define | MRPT_LOG_THROTTLE_WARN_STREAM(_PERIOD_SECONDS, __CONTENTS) |
#define | MRPT_LOG_THROTTLE_ERROR_STREAM(_PERIOD_SECONDS, __CONTENTS) |
#define | MRPT_LOG_THROTTLE_DEBUG_FMT(_PERIOD_SECONDS, _FMT_STRING, ...) |
Usage: MRPT_LOG_THROTTLE_DEBUG_FMT(5.0, "i=%u", i); More... | |
#define | MRPT_LOG_THROTTLE_INFO_FMT(_PERIOD_SECONDS, _FMT_STRING, ...) |
#define | MRPT_LOG_THROTTLE_WARN_FMT(_PERIOD_SECONDS, _FMT_STRING, ...) |
#define | MRPT_LOG_THROTTLE_ERROR_FMT(_PERIOD_SECONDS, _FMT_STRING, ...) |
#define | DEFAULT_LOGLVL_MRPT_UNSCOPED ::mrpt::system::LVL_DEBUG |
#define | MRPT_UNSCOPED_LOGGER_START |
For calling any MRPT_LOG_*() macro from outside of an object inherited from COutputLogger. More... | |
#define | MRPT_UNSCOPED_LOGGER_END |
Typedefs | |
using | mrpt::system::output_logger_callback_t = std::function< void(std::string_view msg, const mrpt::system::VerbosityLevel level, std::string_view loggerName, const mrpt::Clock::time_point timestamp)> |
Callback types for use with mrpt::system::COuputLogger. More... | |
Enumerations | |
enum | mrpt::system::VerbosityLevel { mrpt::system::LVL_DEBUG = 0, mrpt::system::LVL_INFO, mrpt::system::LVL_WARN, mrpt::system::LVL_ERROR, mrpt::system::NUMBER_OF_VERBOSITY_LEVELS } |
Enumeration of available verbosity levels. More... | |
Functions | |
MRPT_FILL_ENUM (LVL_DEBUG) | |
MRPT_FILL_ENUM (LVL_INFO) | |
MRPT_FILL_ENUM (LVL_WARN) | |
MRPT_FILL_ENUM (LVL_ERROR) | |
MRPT_FILL_ENUM_CUSTOM_NAME (LVL_DEBUG, "DEBUG") | |
MRPT_FILL_ENUM_CUSTOM_NAME (LVL_INFO, "INFO") | |
MRPT_FILL_ENUM_CUSTOM_NAME (LVL_WARN, "WARN") | |
MRPT_FILL_ENUM_CUSTOM_NAME (LVL_ERROR, "ERROR") | |
#define DEFAULT_LOGLVL_MRPT_UNSCOPED ::mrpt::system::LVL_DEBUG |
Definition at line 512 of file system/COutputLogger.h.
#define INTERNAL_MRPT_LOG | ( | _LVL, | |
_STRING | |||
) | this->logStr(_LVL, _STRING) |
Definition at line 350 of file system/COutputLogger.h.
#define INTERNAL_MRPT_LOG_FMT | ( | _LVL, | |
_FMT_STRING, | |||
... | |||
) |
Definition at line 363 of file system/COutputLogger.h.
#define INTERNAL_MRPT_LOG_ONCE | ( | _LVL, | |
_STRING | |||
) |
Definition at line 352 of file system/COutputLogger.h.
#define INTERNAL_MRPT_LOG_STREAM | ( | _LVL, | |
__CONTENTS | |||
) |
Definition at line 372 of file system/COutputLogger.h.
#define INTERNAL_MRPT_LOG_THROTTLE | ( | _LVL, | |
_PERIOD_SECONDS, | |||
_STRING | |||
) |
Definition at line 382 of file system/COutputLogger.h.
#define INTERNAL_MRPT_LOG_THROTTLE_FMT | ( | _LVL, | |
_PERIOD_SECONDS, | |||
_FMT_STRING, | |||
... | |||
) |
Definition at line 411 of file system/COutputLogger.h.
#define INTERNAL_MRPT_LOG_THROTTLE_STREAM | ( | _LVL, | |
_PERIOD_SECONDS, | |||
__CONTENTS | |||
) |
Definition at line 396 of file system/COutputLogger.h.
#define MRPT_LOG_DEBUG | ( | _STRING | ) | INTERNAL_MRPT_LOG(::mrpt::system::LVL_DEBUG, _STRING) |
Use: MRPT_LOG_DEBUG("message");
Definition at line 427 of file system/COutputLogger.h.
Referenced by mrpt::comms::CServerTCPSocket::accept(), mrpt::nav::CAbstractNavigator::cancel(), mrpt::graphslam::deciders::CICPCriteriaNRD< GRAPH_T >::checkRegistrationCondition(), mrpt::graphslam::deciders::CICPCriteriaNRD< GRAPH_T >::checkRegistrationCondition2D(), mrpt::graphslam::deciders::CICPCriteriaERD< GRAPH_T >::CICPCriteriaERD(), mrpt::graphs::ScalarFactorGraph::clear(), mrpt::slam::CMetricMapBuilder::clear(), mrpt::slam::CMetricMapBuilderRBPF::clear(), mrpt::slam::CMetricMapBuilder::CMetricMapBuilder(), mrpt::hwdrivers::CSICKTim561Eth::decodeScan(), mrpt::hwdrivers::CLMS100Eth::decodeScan(), mrpt::hwdrivers::CHokuyoURG::displaySensorInfo(), mrpt::hwdrivers::CHokuyoURG::displayVersionInfo(), mrpt::hwdrivers::CSICKTim561Eth::doProcess(), mrpt::hwdrivers::CSICKTim561Eth::doProcessSimple(), mrpt::nav::CAbstractPTGBasedReactive::enableLogFile(), mrpt::hwdrivers::CHokuyoURG::enableSCIP20(), mrpt::bayes::CParticleFilter::executeOn(), mrpt::maps::CRandomFieldGridMap2D::insertObservation_KernelDM_DMV(), mrpt::maps::CRandomFieldGridMap2D::insertObservation_KF(), mrpt::maps::CRandomFieldGridMap2D::insertObservation_KF2(), mrpt::maps::CRandomFieldGridMap2D::internal_clear(), mrpt::graphslam::deciders::CFixedIntervalsNRD< GRAPH_T >::loadParams(), mrpt::graphslam::deciders::CICPCriteriaNRD< GRAPH_T >::loadParams(), mrpt::graphslam::deciders::CICPCriteriaERD< GRAPH_T >::loadParams(), mrpt::graphslam::optimizers::CLevMarqGSO< GRAPH_T >::loadParams(), mrpt::nav::CAbstractPTGBasedReactive::performNavigationStep(), mrpt::nav::CAbstractNavigator::performNavigationStepNavigating(), mrpt::maps::CMultiMetricMapPDF::prediction_and_update_pfOptimalProposal(), mrpt::slam::CMetricMapBuilderRBPF::processActionObservation(), mrpt::slam::CMetricMapBuilderICP::processObservation(), mrpt::nav::CAbstractNavigator::resetNavError(), mrpt::nav::CAbstractNavigator::resume(), mrpt::apps::RBPF_SLAM_App_Base::run(), mrpt::bayes::CKalmanFilterCapable< 7, 3, 3, 7 >::runOneKalmanIteration(), mrpt::hwdrivers::CHokuyoURG::setHighBaudrate(), mrpt::hwdrivers::CHokuyoURG::setHighSensitivityMode(), mrpt::hwdrivers::CHokuyoURG::setMotorSpeed(), mrpt::comms::CServerTCPSocket::setupSocket(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::setWindowManagerPtr(), mrpt::hwdrivers::CHokuyoURG::startScanningMode(), mrpt::nav::CAbstractNavigator::suspend(), mrpt::hwdrivers::CHokuyoURG::switchLaserOff(), mrpt::hwdrivers::CHokuyoURG::switchLaserOn(), mrpt::hwdrivers::CSICKTim561Eth::turnOn(), mrpt::graphslam::deciders::CICPCriteriaERD< GRAPH_T >::updateState(), mrpt::hmtslam::CHMTSLAM::~CHMTSLAM(), and mrpt::slam::CMetricMapBuilder::~CMetricMapBuilder().
#define MRPT_LOG_DEBUG_FMT | ( | _FMT_STRING, | |
... | |||
) | INTERNAL_MRPT_LOG_FMT(::mrpt::system::LVL_DEBUG, _FMT_STRING, __VA_ARGS__) |
Use: MRPT_LOG_DEBUG_FMT("i=%u", i);
Definition at line 461 of file system/COutputLogger.h.
Referenced by mrpt::comms::CServerTCPSocket::accept(), mrpt::graphslam::deciders::CICPCriteriaNRD< GRAPH_T >::checkRegistrationCondition2D(), mrpt::hwdrivers::CSICKTim561Eth::decodeScan(), mrpt::hwdrivers::CLMS100Eth::decodeScan(), mrpt::apps::RawlogGrabberApp::dump_IMU_info(), mrpt::nav::CAbstractPTGBasedReactive::enableLogFile(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::evaluatePartitionsForLC(), mrpt::math::RANSAC_Template< NUMTYPE, DATASET, MODEL >::execute(), mrpt::maps::CRandomFieldGridMap2D::insertObservation_KernelDM_DMV(), mrpt::maps::CRandomFieldGridMap2D::insertObservation_KF(), mrpt::maps::CRandomFieldGridMap2D::insertObservation_KF2(), mrpt::maps::CRandomFieldGridMap2D::internal_clear(), mrpt::nav::CReactiveNavigationSystem3D::loadConfigFile(), mrpt::nav::CAbstractPTGBasedReactive::performNavigationStep(), mrpt::maps::CMultiMetricMapPDF::prediction_and_update_pfOptimalProposal(), mrpt::hwdrivers::CSICKTim561Eth::rebootDev(), mrpt::maps::CRandomFieldGridMap2D::resize(), mrpt::hwdrivers::CHokuyoURG::setHighSensitivityMode(), mrpt::hwdrivers::CHokuyoURG::setMotorSpeed(), mrpt::hwdrivers::CSICKTim561Eth::turnOn(), mrpt::hwdrivers::CLMS100Eth::turnOn(), mrpt::graphs::ScalarFactorGraph::updateEstimation(), mrpt::graphslam::deciders::CFixedIntervalsNRD< GRAPH_T >::updateState(), and mrpt::graphslam::deciders::CICPCriteriaERD< GRAPH_T >::updateState().
#define MRPT_LOG_DEBUG_STREAM | ( | __CONTENTS | ) | INTERNAL_MRPT_LOG_STREAM(::mrpt::system::LVL_DEBUG, __CONTENTS) |
Use: MRPT_LOG_DEBUG_STREAM("Var=" << value << " foo=" << foo_var);
Definition at line 471 of file system/COutputLogger.h.
Referenced by mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::_execGraphSlamStep(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::addScanMatchingEdges(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::alignOpticalWithMRPTFrame(), mrpt::slam::CGridMapAligner::AlignPDF_robustMatch(), mrpt::graphslam::optimizers::CLevMarqGSO< GRAPH_T >::checkForFullOptimization(), mrpt::nav::CWaypointsNavigator::checkHasReachedTarget(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::checkPartitionsForLC(), mrpt::graphslam::deciders::CICPCriteriaERD< GRAPH_T >::checkRegistrationCondition2D(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::CLoopCloserERD(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::computeDominantEigenVector(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::computeSlamMetric(), mrpt::apps::RawlogGrabberApp::dump_GPS_mode_info(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::evaluatePartitionsForLC(), mrpt::math::CLevenbergMarquardtTempl< VECTORTYPE, USERPARAM >::execute(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::generateHypotsPool(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::generatePWConsistenciesMatrix(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::generatePWConsistencyElement(), mrpt::graphslam::CRegistrationDeciderOrOptimizer< GRAPH_t >::getDescriptiveReport(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::getICPEdge(), mrpt::apps::DataSourceRawlog::impl_get_next_observations(), mrpt::graphs::ScalarFactorGraph::initialize(), mrpt::graphslam::CRegistrationDeciderOrOptimizer< GRAPH_t >::initializeLoggers(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::initSlamMetricVisualization(), mrpt::maps::CRandomFieldGridMap2D::insertObservation_KF2(), mrpt::maps::CRandomFieldGridMap2D::internal_clear(), mrpt::maps::CRandomFieldGridMap3D::internal_initialize(), mrpt::graphslam::CRegistrationDeciderOrOptimizer< GRAPH_t >::loadParams(), mrpt::hmtslam::CHMTSLAM::LSLAM_process_message_from_AA(), mrpt::graphslam::optimizers::CLevMarqGSO< GRAPH_T >::notifyOfWindowEvents(), mrpt::graphslam::optimizers::CLevMarqGSO< GRAPH_T >::optimizeGraph(), mrpt::hwdrivers::CHokuyoURG::parseResponse(), mrpt::graphslam::CRegistrationDeciderOrOptimizer< GRAPH_t >::printParams(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::printParams(), mrpt::slam::CMetricMapBuilderRBPF::processActionObservation(), mrpt::slam::CMetricMapBuilderICP::processObservation(), mrpt::graphslam::deciders::CEdgeRegistrationDecider< GRAPH_t >::registerNewEdge(), mrpt::graphslam::deciders::CNodeRegistrationDecider< GRAPH_t >::registerNewNodeAtEnd(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::save3DScene(), mrpt::hwdrivers::CHokuyoURG::sendCmd(), mrpt::graphslam::CWindowManager::setCDisplayWindow3DPtr(), mrpt::graphslam::CRegistrationDeciderOrOptimizer< GRAPH_t >::setGraphPtr(), mrpt::graphslam::CWindowManager::setWindowObserverPtr(), mrpt::hmtslam::CHMTSLAM::thread_LSLAM(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::updateCurrCovarianceVisualization(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::updateCurrPosViewport(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::updateMapPartitions(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::updateMapPartitionsVisualization(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::updateMapVisualization(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::updateState(), mrpt::nav::CWaypointsNavigator::waypoints_navigationStep(), and mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::~CGraphSlamEngine().
#define MRPT_LOG_ERROR | ( | _STRING | ) | INTERNAL_MRPT_LOG(::mrpt::system::LVL_ERROR, _STRING) |
Definition at line 433 of file system/COutputLogger.h.
Referenced by mrpt::hwdrivers::CHokuyoURG::displaySensorInfo(), mrpt::nav::CAbstractNavigator::doEmergencyStop(), mrpt::hwdrivers::CGPSInterface::doProcess(), mrpt::hwdrivers::CSICKTim561Eth::doProcessSimple(), mrpt::hwdrivers::CLMS100Eth::doProcessSimple(), mrpt::hwdrivers::CHokuyoURG::ensureStreamIsOpen(), mrpt::hwdrivers::CSICKTim561Eth::generateCmd(), mrpt::hwdrivers::CLMS100Eth::generateCmd(), mrpt::apps::ICP_SLAM_App_Live::impl_get_next_observations(), mrpt::hwdrivers::CHokuyoURG::initialize(), mrpt::nav::CAbstractNavigator::navigationStep(), mrpt::nav::CAbstractNavigator::performNavigationStepNavigating(), mrpt::hwdrivers::CSICKTim561Eth::rebootDev(), mrpt::apps::RawlogGrabberApp::runImpl(), mrpt::apps::RawlogGrabberApp::SensorThread(), mrpt::hwdrivers::CHokuyoURG::setHighBaudrate(), mrpt::hmtslam::CHMTSLAM::thread_LSLAM(), mrpt::hwdrivers::CSickLaserSerial::tryToOpenComms(), mrpt::hwdrivers::CSICKTim561Eth::turnOn(), and mrpt::nav::CAbstractNavigator::updateCurrentPoseAndSpeeds().
#define MRPT_LOG_ERROR_FMT | ( | _FMT_STRING, | |
... | |||
) | INTERNAL_MRPT_LOG_FMT(::mrpt::system::LVL_ERROR, _FMT_STRING, __VA_ARGS__) |
Definition at line 467 of file system/COutputLogger.h.
Referenced by mrpt::comms::CServerTCPSocket::accept(), mrpt::hwdrivers::CSickLaserUSB::checkControllerIsConnected(), mrpt::hwdrivers::CSICKTim561Eth::checkIsConnected(), mrpt::hwdrivers::CLMS100Eth::checkIsConnected(), mrpt::hwdrivers::CLMS100Eth::decodeScan(), mrpt::graphslam::deciders::CICPCriteriaERD< GRAPH_T >::dumpVisibilityErrorMsg(), mrpt::nav::CAbstractPTGBasedReactive::enableLogFile(), mrpt::hwdrivers::CHokuyoURG::parseResponse(), mrpt::nav::CAbstractNavigator::performNavigationStepNavigating(), mrpt::hwdrivers::CSICKTim561Eth::turnOn(), mrpt::hwdrivers::CLMS100Eth::turnOn(), mrpt::hwdrivers::CSickLaserUSB::waitContinuousSampleFrame(), and mrpt::hwdrivers::CSickLaserSerial::waitContinuousSampleFrame().
#define MRPT_LOG_ERROR_STREAM | ( | __CONTENTS | ) | INTERNAL_MRPT_LOG_STREAM(::mrpt::system::LVL_ERROR, __CONTENTS) |
Definition at line 477 of file system/COutputLogger.h.
Referenced by mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::_execGraphSlamStep(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::computeDominantEigenVector(), mrpt::hwdrivers::CHokuyoURG::displaySensorInfo(), mrpt::hwdrivers::CHokuyoURG::displayVersionInfo(), mrpt::hwdrivers::CHokuyoURG::doProcessSimple(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::dumpVisibilityErrorMsg(), mrpt::hwdrivers::CHokuyoURG::enableSCIP20(), mrpt::hwdrivers::CHokuyoURG::ensureStreamIsOpen(), mrpt::nav::CAbstractPTGBasedReactive::generate_vel_cmd(), mrpt::nav::CReactiveNavigationSystem::implementSenseObstacles(), mrpt::hwdrivers::CTuMicos::init(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::monitorNodeRegistration(), mrpt::hwdrivers::CHokuyoURG::parseResponse(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::save3DScene(), mrpt::apps::RawlogGrabberApp::SensorThread(), mrpt::hwdrivers::CHokuyoURG::setHighSensitivityMode(), mrpt::hwdrivers::CHokuyoURG::setMotorSpeed(), mrpt::hwdrivers::CHokuyoURG::startScanningMode(), mrpt::hwdrivers::CHokuyoURG::switchLaserOff(), mrpt::hwdrivers::CHokuyoURG::switchLaserOn(), mrpt::hwdrivers::CCANBusReader::tryToOpenComms(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::updateState(), and mrpt::hwdrivers::CCANBusReader::waitContinuousSampleFrame().
#define MRPT_LOG_INFO | ( | _STRING | ) | INTERNAL_MRPT_LOG(::mrpt::system::LVL_INFO, _STRING) |
Definition at line 429 of file system/COutputLogger.h.
Referenced by mrpt::slam::CGridMapAligner::AlignPDF_robustMatch(), mrpt::apps::MonteCarloLocalization_Base::do_pf_localization(), mrpt::apps::ICP_SLAM_App_Live::impl_initialize(), mrpt::apps::RawlogGrabberApp::initialize(), mrpt::nav::CAbstractNavigator::loadConfigFile(), mrpt::nav::CAbstractNavigator::navigationStep(), mrpt::nav::CAbstractNavigator::performNavigationStepNavigating(), mrpt::slam::CMetricMapBuilderRBPF::processActionObservation(), mrpt::slam::CMetricMapBuilderICP::processObservation(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::registerNewEdge(), mrpt::apps::MonteCarloLocalization_Base::run(), mrpt::apps::RBPF_SLAM_App_Base::run(), mrpt::apps::ICP_SLAM_App_Base::run(), mrpt::apps::KFSLAMApp::Run_KF_SLAM(), mrpt::apps::RawlogGrabberApp::runImpl(), mrpt::nav::CRobot2NavInterface::sendNavigationEndEvent(), mrpt::nav::CRobot2NavInterface::sendNavigationStartEvent(), mrpt::nav::CReactiveNavigationSystem3D::STEP1_InitPTGs(), mrpt::nav::CRobot2NavInterface::stopWatchdog(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::toggleLaserScansVisualization(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::toggleMapPartitionsVisualization(), and mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::updateMapPartitions().
#define MRPT_LOG_INFO_FMT | ( | _FMT_STRING, | |
... | |||
) | INTERNAL_MRPT_LOG_FMT(::mrpt::system::LVL_INFO, _FMT_STRING, __VA_ARGS__) |
Definition at line 463 of file system/COutputLogger.h.
Referenced by mrpt::slam::CGridMapAligner::AlignPDF_correlation(), mrpt::slam::CGridMapAligner::AlignPDF_robustMatch(), mrpt::hwdrivers::CSickLaserUSB::checkControllerIsConnected(), mrpt::apps::MonteCarloLocalization_Base::do_pf_localization(), mrpt::math::RANSAC_Template< NUMTYPE, DATASET, MODEL >::execute(), mrpt::apps::DataSourceRawlog::impl_get_next_observations(), mrpt::apps::KFSLAMApp::initialize(), mrpt::apps::RawlogGrabberApp::initialize(), mrpt::apps::RBPF_SLAM_App_Base::initialize(), mrpt::apps::ICP_SLAM_App_Base::initialize(), mrpt::apps::MonteCarloLocalization_Base::initialize(), mrpt::nav::CReactiveNavigationSystem3D::loadConfigFile(), mrpt::apps::CGridMapAlignerApp::run(), mrpt::apps::RBPF_SLAM_App_Base::run(), mrpt::apps::ICP_SLAM_App_Base::run(), mrpt::apps::RawlogGrabberApp::SensorThread(), mrpt::nav::CRobot2NavInterface::startWatchdog(), mrpt::nav::CReactiveNavigationSystem3D::STEP1_InitPTGs(), and mrpt::nav::CWaypointsNavigator::waypoints_navigationStep().
#define MRPT_LOG_INFO_STREAM | ( | __CONTENTS | ) | INTERNAL_MRPT_LOG_STREAM(::mrpt::system::LVL_INFO, __CONTENTS) |
Definition at line 473 of file system/COutputLogger.h.
Referenced by mrpt::slam::CGridMapAligner::AlignPDF_robustMatch(), mrpt::hwdrivers::CHokuyoURG::displaySensorInfo(), mrpt::hwdrivers::CHokuyoURG::displayVersionInfo(), mrpt::apps::MonteCarloLocalization_Base::do_pf_localization(), mrpt::system::CTimeLogger::dumpAllStats(), mrpt::hwdrivers::CHokuyoURG::ensureStreamIsOpen(), mrpt::hmtslam::CHMTSLAM::generateLogFiles(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::generateReportFiles(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::initClass(), mrpt::slam::CMetricMapBuilderRBPF::initialize(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::initResultsFile(), mrpt::slam::CMetricMapBuilder::loadCurrentMapFromFile(), mrpt::hmtslam::CHMTSLAM::LSLAM_process_message_from_AA(), mrpt::apps::RawlogGrabberApp::process_observations_for_nonsf(), mrpt::apps::RawlogGrabberApp::process_observations_for_sf(), mrpt::slam::CMetricMapBuilderRBPF::processActionObservation(), mrpt::slam::CMetricMapBuilderICP::processObservation(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::resumeExec(), mrpt::apps::CGridMapAlignerApp::run(), mrpt::apps::KFSLAMApp::Run_KF_SLAM(), mrpt::apps::RawlogGrabberApp::runImpl(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::save3DScene(), mrpt::slam::CMetricMapBuilder::saveCurrentMapToFile(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::saveGraph(), mrpt::nav::CRobot2NavInterface::sendNewWaypointTargetEvent(), mrpt::nav::CRobot2NavInterface::sendWaypointReachedEvent(), mrpt::apps::RawlogGrabberApp::SensorThread(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::toggleEstimatedTrajectoryVisualization(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::toggleGTVisualization(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::toggleMapVisualization(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::toggleOdometryVisualization(), and mrpt::hwdrivers::CHokuyoURG::turnOn().
#define MRPT_LOG_ONCE_DEBUG | ( | _STRING | ) | INTERNAL_MRPT_LOG_ONCE(::mrpt::system::LVL_DEBUG, _STRING) |
Use: MRPT_LOG_ONCE_DEBUG("once-only message");
Definition at line 437 of file system/COutputLogger.h.
#define MRPT_LOG_ONCE_ERROR | ( | _STRING | ) | INTERNAL_MRPT_LOG_ONCE(::mrpt::system::LVL_ERROR, _STRING) |
Definition at line 443 of file system/COutputLogger.h.
#define MRPT_LOG_ONCE_INFO | ( | _STRING | ) | INTERNAL_MRPT_LOG_ONCE(::mrpt::system::LVL_INFO, _STRING) |
Definition at line 439 of file system/COutputLogger.h.
#define MRPT_LOG_ONCE_WARN | ( | _STRING | ) | INTERNAL_MRPT_LOG_ONCE(::mrpt::system::LVL_WARN, _STRING) |
Definition at line 441 of file system/COutputLogger.h.
#define MRPT_LOG_THROTTLE_DEBUG | ( | _PERIOD_SECONDS, | |
_STRING | |||
) |
Use: MRPT_LOG_THROTTLE_DEBUG(5.0, "message");
Definition at line 447 of file system/COutputLogger.h.
#define MRPT_LOG_THROTTLE_DEBUG_FMT | ( | _PERIOD_SECONDS, | |
_FMT_STRING, | |||
... | |||
) |
Usage: MRPT_LOG_THROTTLE_DEBUG_FMT(5.0, "i=%u", i);
Definition at line 496 of file system/COutputLogger.h.
Referenced by mrpt::nav::CAbstractNavigator::updateCurrentPoseAndSpeeds().
#define MRPT_LOG_THROTTLE_DEBUG_STREAM | ( | _PERIOD_SECONDS, | |
__CONTENTS | |||
) |
Usage: MRPT_LOG_THROTTLE_DEBUG_STREAM(5.0, "Var=" << value << " foo=" << foo_var);
Definition at line 482 of file system/COutputLogger.h.
#define MRPT_LOG_THROTTLE_ERROR | ( | _PERIOD_SECONDS, | |
_STRING | |||
) |
Definition at line 456 of file system/COutputLogger.h.
Referenced by mrpt::hwdrivers::C2DRangeFinderAbstract::doProcess().
#define MRPT_LOG_THROTTLE_ERROR_FMT | ( | _PERIOD_SECONDS, | |
_FMT_STRING, | |||
... | |||
) |
Definition at line 505 of file system/COutputLogger.h.
#define MRPT_LOG_THROTTLE_ERROR_STREAM | ( | _PERIOD_SECONDS, | |
__CONTENTS | |||
) |
Definition at line 491 of file system/COutputLogger.h.
#define MRPT_LOG_THROTTLE_INFO | ( | _PERIOD_SECONDS, | |
_STRING | |||
) |
Definition at line 450 of file system/COutputLogger.h.
Referenced by mrpt::nav::CRobot2NavInterface::changeSpeedsNOP(), mrpt::nav::CRobot2NavInterface::sendApparentCollisionEvent(), mrpt::nav::CRobot2NavInterface::sendCannotGetCloserToBlockedTargetEvent(), mrpt::nav::CRobot2NavInterface::sendNavigationEndDueToErrorEvent(), and mrpt::nav::CRobot2NavInterface::sendWaySeemsBlockedEvent().
#define MRPT_LOG_THROTTLE_INFO_FMT | ( | _PERIOD_SECONDS, | |
_FMT_STRING, | |||
... | |||
) |
Definition at line 499 of file system/COutputLogger.h.
Referenced by mrpt::nav::CWaypointsNavigator::waypoints_navigationStep().
#define MRPT_LOG_THROTTLE_INFO_STREAM | ( | _PERIOD_SECONDS, | |
__CONTENTS | |||
) |
Definition at line 485 of file system/COutputLogger.h.
#define MRPT_LOG_THROTTLE_WARN | ( | _PERIOD_SECONDS, | |
_STRING | |||
) |
Definition at line 453 of file system/COutputLogger.h.
Referenced by mrpt::hwdrivers::CCameraSensor::getNextFrame(), mrpt::nav::CAbstractNavigator::performNavigationStepNavigating(), and mrpt::slam::CMetricMapBuilderICP::processObservation().
#define MRPT_LOG_THROTTLE_WARN_FMT | ( | _PERIOD_SECONDS, | |
_FMT_STRING, | |||
... | |||
) |
Definition at line 502 of file system/COutputLogger.h.
Referenced by mrpt::system::CControlledRateTimer::sleep().
#define MRPT_LOG_THROTTLE_WARN_STREAM | ( | _PERIOD_SECONDS, | |
__CONTENTS | |||
) |
Definition at line 488 of file system/COutputLogger.h.
#define MRPT_LOG_WARN | ( | _STRING | ) | INTERNAL_MRPT_LOG(::mrpt::system::LVL_WARN, _STRING) |
Definition at line 431 of file system/COutputLogger.h.
Referenced by mrpt::comms::CServerTCPSocket::accept(), mrpt::nav::CReactiveNavigationSystem3D::checkCollisionWithLatestObstacles(), mrpt::slam::CMetricMapBuilderRBPF::CMetricMapBuilderRBPF(), mrpt::math::RANSAC_Template< NUMTYPE, DATASET, MODEL >::execute(), mrpt::nav::CAbstractNavigator::performNavigationStepNavigating(), mrpt::maps::CMultiMetricMapPDF::prediction_and_update_pfOptimalProposal(), mrpt::slam::CMetricMapBuilderRBPF::processActionObservation(), mrpt::slam::CMetricMapBuilderICP::processObservation(), mrpt::graphslam::deciders::CNodeRegistrationDecider< GRAPH_t >::registerNewNodeAtEnd(), and mrpt::hmtslam::CHMTSLAM::~CHMTSLAM().
#define MRPT_LOG_WARN_FMT | ( | _FMT_STRING, | |
... | |||
) | INTERNAL_MRPT_LOG_FMT(::mrpt::system::LVL_WARN, _FMT_STRING, __VA_ARGS__) |
#define MRPT_LOG_WARN_STREAM | ( | __CONTENTS | ) | INTERNAL_MRPT_LOG_STREAM(::mrpt::system::LVL_WARN, __CONTENTS) |
Definition at line 475 of file system/COutputLogger.h.
Referenced by mrpt::graphslam::optimizers::CLevMarqGSO< GRAPH_T >::checkForFullOptimization(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::checkPartitionsForLC(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::evaluatePartitionsForLC(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::getPropsOfNodeID(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::initClass(), mrpt::slam::CMetricMapBuilder::loadCurrentMapFromFile(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::pauseExec(), mrpt::slam::CMetricMapBuilderRBPF::processActionObservation(), mrpt::slam::CMetricMapBuilderICP::processObservation(), mrpt::bayes::CKalmanFilterCapable< 7, 3, 3, 7 >::runOneKalmanIteration(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::updateMapPartitions(), and mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::updateState().
#define MRPT_UNSCOPED_LOGGER_END |
Definition at line 544 of file system/COutputLogger.h.
#define MRPT_UNSCOPED_LOGGER_START |
For calling any MRPT_LOG_*()
macro from outside of an object inherited from COutputLogger.
Debug level is DEBUG
if build with _DEBUG
preprocessor flag, INFO
otherwise. Use:
Definition at line 527 of file system/COutputLogger.h.
MRPT_FILL_ENUM | ( | LVL_DEBUG | ) |
MRPT_FILL_ENUM | ( | LVL_INFO | ) |
MRPT_FILL_ENUM | ( | LVL_WARN | ) |
MRPT_FILL_ENUM | ( | LVL_ERROR | ) |
MRPT_FILL_ENUM_CUSTOM_NAME | ( | LVL_DEBUG | , |
"DEBUG" | |||
) |
MRPT_FILL_ENUM_CUSTOM_NAME | ( | LVL_INFO | , |
"INFO" | |||
) |
MRPT_FILL_ENUM_CUSTOM_NAME | ( | LVL_WARN | , |
"WARN" | |||
) |
MRPT_FILL_ENUM_CUSTOM_NAME | ( | LVL_ERROR | , |
"ERROR" | |||
) |
Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020 |