src/algo/depth-to-rgb-calibration/debug.h
Go to the documentation of this file.
1 
4 #pragma once
5 
6 
7 // DEBUG HELPERS -- should be included from .cpp only!!
8 
9 
10 #define AC_F_PREC std::setprecision( std::numeric_limits< float >::max_digits10 )
11 #define AC_D_PREC std::setprecision( std::numeric_limits< double >::max_digits10 )
12 
13 
14 #define AC_LOG_PREFIX "CAH: "
15 #define AC_LOG_PREFIX_LEN 5
16 
17 #define AC_LOG(TYPE,MSG) LOG_##TYPE( AC_LOG_PREFIX << (std::string)( librealsense::to_string() << MSG ))
18 //#define AC_LOG(TYPE,MSG) std::cout << (std::string)( to_string() << "-" << #TYPE [0] << "- " << MSG ) << std::endl; //LOG_INFO((std::string)( to_string() << "-" << #TYPE [0] << "- " << MSG ));
19 //#define AC_LOG_CONTINUE(TYPE,MSG) std::cout << (std::string)( to_string() << "-" << #TYPE [0] << "- " << MSG )
20 


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:12