#include <list>
#include <vector>
#include <string>
#include <stdint.h>
#include <stdio.h>
#include <math.h>
#include <Eigen/Core>
#include <opencv2/opencv.hpp>
#include <sophus/se3.h>
#include <vikit/performance_monitor.h>
#include <boost/shared_ptr.hpp>
#include <chrono>
Go to the source code of this file.
Define Documentation
#define SVO_ERROR_STREAM |
( |
|
x | ) |
std::cerr<<"\033[1;31m[ERROR] "<<x<<"\033[0;0m"<<std::endl; |
#define SVO_INFO_STREAM |
( |
|
x | ) |
std::cerr<<"\033[0;0m[INFO] "<<x<<"\033[0;0m"<<std::endl; |
#define SVO_WARN_STREAM |
( |
|
x | ) |
std::cerr<<"\033[0;33m[WARN] "<<x<<"\033[0;0m"<<std::endl; |
Value:do { \
static double __log_stream_throttle__last_hit__ = 0.0; \
std::chrono::time_point<std::chrono::system_clock> __log_stream_throttle__now__ = \
std::chrono::system_clock::now(); \
if (__log_stream_throttle__last_hit__ + rate <= \
std::chrono::duration_cast<std::chrono::seconds>( \
__log_stream_throttle__now__.time_since_epoch()).count()) { \
__log_stream_throttle__last_hit__ = \
std::chrono::duration_cast<std::chrono::seconds>( \
__log_stream_throttle__now__.time_since_epoch()).count(); \
SVO_WARN_STREAM(x); \
} \
} while(0)