Defines | Functions | Variables
laser_cb_detector_unittest.cpp File Reference
#include <gtest/gtest.h>
#include <laser_cb_detector/ConfigGoal.h>
#include <laser_cb_detector/laser_cb_detector.h>
#include <opencv/highgui.h>
Include dependency graph for laser_cb_detector_unittest.cpp:

Go to the source code of this file.

Defines

#define str(s)   #s
#define xstr(s)   str(s)

Functions

void check3x4 (const calibration_msgs::CalibrationPattern &result, double pix_eps, bool flipped)
ConfigGoal config3x4 ()
calibration_msgs::DenseLaserSnapshot getSnapshot (const string &filename)
int main (int argc, char **argv)
 TEST (LaserCbDetector, easy_cb_3x4)
 TEST (LaserCbDetector, scaled_cb_3x4)
 TEST (LaserCbDetector, reflected_cb_3x4)
 TEST (LaserCbDetector, malformedTest)
 TEST (LaserCbDetector, noCheckerboardTest)

Variables

static const bool DEBUG = false
static const double eps = 1e-6
static const double pix_eps_ = .6
static const string test_path = xstr(TEST_PATH)

Define Documentation

#define str (   s)    #s

Definition at line 53 of file laser_cb_detector_unittest.cpp.

#define xstr (   s)    str(s)

Definition at line 52 of file laser_cb_detector_unittest.cpp.


Function Documentation

void check3x4 ( const calibration_msgs::CalibrationPattern &  result,
double  pix_eps,
bool  flipped 
)

Definition at line 124 of file laser_cb_detector_unittest.cpp.

ConfigGoal config3x4 ( )

Definition at line 100 of file laser_cb_detector_unittest.cpp.

calibration_msgs::DenseLaserSnapshot getSnapshot ( const string &  filename)

Definition at line 56 of file laser_cb_detector_unittest.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 272 of file laser_cb_detector_unittest.cpp.

TEST ( LaserCbDetector  ,
easy_cb_3x4   
)

Definition at line 166 of file laser_cb_detector_unittest.cpp.

TEST ( LaserCbDetector  ,
scaled_cb_3x4   
)
Todo:
Should I be worried that I need a bigger eps when there's scaling? Seems a little shady

Definition at line 186 of file laser_cb_detector_unittest.cpp.

TEST ( LaserCbDetector  ,
reflected_cb_3x4   
)
Todo:
Should I be worried that I need a bigger eps when there's scaling? Seems a little shady

Definition at line 210 of file laser_cb_detector_unittest.cpp.

TEST ( LaserCbDetector  ,
malformedTest   
)

Definition at line 234 of file laser_cb_detector_unittest.cpp.

TEST ( LaserCbDetector  ,
noCheckerboardTest   
)

Definition at line 251 of file laser_cb_detector_unittest.cpp.


Variable Documentation

const bool DEBUG = false [static]

Definition at line 48 of file laser_cb_detector_unittest.cpp.

const double eps = 1e-6 [static]

Definition at line 46 of file laser_cb_detector_unittest.cpp.

const double pix_eps_ = .6 [static]

Definition at line 45 of file laser_cb_detector_unittest.cpp.

const string test_path = xstr(TEST_PATH) [static]

Definition at line 54 of file laser_cb_detector_unittest.cpp.



laser_cb_detector
Author(s): Vijay Pradeep
autogenerated on Wed Aug 26 2015 10:56:07