LocalGuidance
A library that generates velocity references to follow a path.
Macros.hpp File Reference
#include <iostream>
#include <message_logger/message_logger.hpp>
Include dependency graph for Macros.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  navigation_common::Macros
 

Namespaces

 navigation_common
 Implementation of conversion functions for Path/PathLocalGuidance.
 

Macros

#define _NAVIGATION_COMMON_ADD_FUNCTION_NAME(message)   "[" << navigation_common::Macros::extractFunctionName(__PRETTY_FUNCTION__) << "] " << message
 
#define NAVIGATION_COMMON_DEBUG(message)   MELO_DEBUG_STREAM(_NAVIGATION_COMMON_ADD_FUNCTION_NAME(message))
 
#define NAVIGATION_COMMON_INFO(message)   MELO_INFO_STREAM(_NAVIGATION_COMMON_ADD_FUNCTION_NAME(message))
 
#define NAVIGATION_COMMON_WARN(message)   MELO_WARN_STREAM(_NAVIGATION_COMMON_ADD_FUNCTION_NAME(message))
 
#define NAVIGATION_COMMON_ERROR(message)   MELO_ERROR_STREAM(_NAVIGATION_COMMON_ADD_FUNCTION_NAME(message))
 
#define NAVIGATION_COMMON_FATAL(message)   MELO_FATAL_STREAM(_NAVIGATION_COMMON_ADD_FUNCTION_NAME(message))
 

Macro Definition Documentation

◆ _NAVIGATION_COMMON_ADD_FUNCTION_NAME

#define _NAVIGATION_COMMON_ADD_FUNCTION_NAME (   message)    "[" << navigation_common::Macros::extractFunctionName(__PRETTY_FUNCTION__) << "] " << message

◆ NAVIGATION_COMMON_DEBUG

#define NAVIGATION_COMMON_DEBUG (   message)    MELO_DEBUG_STREAM(_NAVIGATION_COMMON_ADD_FUNCTION_NAME(message))

◆ NAVIGATION_COMMON_ERROR

#define NAVIGATION_COMMON_ERROR (   message)    MELO_ERROR_STREAM(_NAVIGATION_COMMON_ADD_FUNCTION_NAME(message))

◆ NAVIGATION_COMMON_FATAL

#define NAVIGATION_COMMON_FATAL (   message)    MELO_FATAL_STREAM(_NAVIGATION_COMMON_ADD_FUNCTION_NAME(message))

◆ NAVIGATION_COMMON_INFO

#define NAVIGATION_COMMON_INFO (   message)    MELO_INFO_STREAM(_NAVIGATION_COMMON_ADD_FUNCTION_NAME(message))

◆ NAVIGATION_COMMON_WARN

#define NAVIGATION_COMMON_WARN (   message)    MELO_WARN_STREAM(_NAVIGATION_COMMON_ADD_FUNCTION_NAME(message))