Classes | Public Types | Public Member Functions | Public Attributes | Static Private Member Functions | List of all members
CheckerboardDetector Class Reference

Classes

struct  CHECKERBOARD
 

Public Types

typedef checkerboard_detector::CheckerboardDetectorConfig Config
 

Public Member Functions

void caminfo_cb (const sensor_msgs::CameraInfoConstPtr &msg)
 
void caminfo_cb2 (const sensor_msgs::CameraInfoConstPtr &msg)
 
 CheckerboardDetector ()
 
void configCallback (Config &config, uint32_t level)
 
void connectCb ()
 
bool Detect (posedetection_msgs::ObjectDetection &objdetmsg, const sensor_msgs::Image &imagemsg, const sensor_msgs::CameraInfo &camInfoMsg)
 
bool detect_cb (posedetection_msgs::Detect::Request &req, posedetection_msgs::Detect::Response &res)
 
geometry_msgs::Pose FindTransformation (const vector< cv::Point2f > &imgpts, const vector< cv::Point3f > &objpts, const Transform &tlocal, const image_geometry::PinholeCameraModel &model, double cell_size=1.0)
 
void image_cb (const sensor_msgs::ImageConstPtr &msg)
 
void image_cb2 (const sensor_msgs::ImageConstPtr &msg)
 
void publishPolygonArray (const posedetection_msgs::ObjectDetection &obj)
 
void subscribe ()
 
void unsubscribe ()
 
virtual ~CheckerboardDetector ()
 

Public Attributes

sensor_msgs::CameraInfo _camInfoMsg
 
ros::NodeHandle _node
 
posedetection_msgs::ObjectDetection _objdetmsg
 
ros::Publisher _pubCornerPoint
 
ros::Publisher _pubDebugImage
 
ros::Publisher _pubDetection
 
ros::Publisher _pubPolygonArray
 
ros::Publisher _pubPoseStamped
 
ros::ServiceServer _srvDetect
 
bool adaptive_thresh_flag
 
double axis_size_
 
ros::Subscriber camInfoSubscriber
 
ros::Subscriber camInfoSubscriber2
 
int circle_size_
 
int dimx
 
int dimy
 
int display
 
bool fast_check_flag
 
bool filter_quads_flag
 
string frame_id
 
double fRectSize [2]
 
ros::Subscriber imageSubscriber
 
ros::Subscriber imageSubscriber2
 
bool invert_color
 
ros::Time lasttime
 
map< string, int > maptypes
 
int maxboard
 
int message_throttle_
 
int message_throttle_counter_
 
boost::mutex mutex
 
bool normalize_image_flag
 
int publish_queue_size
 
int queue_size
 
boost::shared_ptr< dynamic_reconfigure::Server< Config > > srv
 
bool use_P
 
vector< CHECKERBOARDvcheckers
 
int verbose
 
vector< string > vstrtypes
 

Static Private Member Functions

template<typename T >
static vector< T > tokenizevector (const string &s)
 

Detailed Description

Definition at line 64 of file checkerboard_detector.cpp.

Member Typedef Documentation

typedef checkerboard_detector::CheckerboardDetectorConfig CheckerboardDetector::Config

Definition at line 110 of file checkerboard_detector.cpp.

Constructor & Destructor Documentation

CheckerboardDetector::CheckerboardDetector ( )
inline

Definition at line 121 of file checkerboard_detector.cpp.

virtual CheckerboardDetector::~CheckerboardDetector ( )
inlinevirtual

Definition at line 272 of file checkerboard_detector.cpp.

Member Function Documentation

void CheckerboardDetector::caminfo_cb ( const sensor_msgs::CameraInfoConstPtr &  msg)
inline

Definition at line 278 of file checkerboard_detector.cpp.

void CheckerboardDetector::caminfo_cb2 ( const sensor_msgs::CameraInfoConstPtr &  msg)
inline

Definition at line 288 of file checkerboard_detector.cpp.

void CheckerboardDetector::configCallback ( Config config,
uint32_t  level 
)
inline

Definition at line 733 of file checkerboard_detector.cpp.

void CheckerboardDetector::connectCb ( )
inline

Definition at line 402 of file checkerboard_detector.cpp.

bool CheckerboardDetector::Detect ( posedetection_msgs::ObjectDetection &  objdetmsg,
const sensor_msgs::Image &  imagemsg,
const sensor_msgs::CameraInfo &  camInfoMsg 
)
inline

Definition at line 417 of file checkerboard_detector.cpp.

bool CheckerboardDetector::detect_cb ( posedetection_msgs::Detect::Request &  req,
posedetection_msgs::Detect::Response &  res 
)
inline

Definition at line 367 of file checkerboard_detector.cpp.

geometry_msgs::Pose CheckerboardDetector::FindTransformation ( const vector< cv::Point2f > &  imgpts,
const vector< cv::Point3f > &  objpts,
const Transform tlocal,
const image_geometry::PinholeCameraModel model,
double  cell_size = 1.0 
)
inline

Definition at line 678 of file checkerboard_detector.cpp.

void CheckerboardDetector::image_cb ( const sensor_msgs::ImageConstPtr &  msg)
inline

Definition at line 348 of file checkerboard_detector.cpp.

void CheckerboardDetector::image_cb2 ( const sensor_msgs::ImageConstPtr &  msg)
inline

Definition at line 326 of file checkerboard_detector.cpp.

void CheckerboardDetector::publishPolygonArray ( const posedetection_msgs::ObjectDetection &  obj)
inline

Definition at line 294 of file checkerboard_detector.cpp.

void CheckerboardDetector::subscribe ( )
inline

Definition at line 374 of file checkerboard_detector.cpp.

template<typename T >
static vector<T> CheckerboardDetector::tokenizevector ( const string &  s)
inlinestaticprivate

Definition at line 67 of file checkerboard_detector.cpp.

void CheckerboardDetector::unsubscribe ( )
inline

Definition at line 394 of file checkerboard_detector.cpp.

Member Data Documentation

sensor_msgs::CameraInfo CheckerboardDetector::_camInfoMsg

Definition at line 86 of file checkerboard_detector.cpp.

ros::NodeHandle CheckerboardDetector::_node

Definition at line 106 of file checkerboard_detector.cpp.

posedetection_msgs::ObjectDetection CheckerboardDetector::_objdetmsg

Definition at line 85 of file checkerboard_detector.cpp.

ros::Publisher CheckerboardDetector::_pubCornerPoint

Definition at line 92 of file checkerboard_detector.cpp.

ros::Publisher CheckerboardDetector::_pubDebugImage

Definition at line 94 of file checkerboard_detector.cpp.

ros::Publisher CheckerboardDetector::_pubDetection

Definition at line 90 of file checkerboard_detector.cpp.

ros::Publisher CheckerboardDetector::_pubPolygonArray

Definition at line 93 of file checkerboard_detector.cpp.

ros::Publisher CheckerboardDetector::_pubPoseStamped

Definition at line 91 of file checkerboard_detector.cpp.

ros::ServiceServer CheckerboardDetector::_srvDetect

Definition at line 95 of file checkerboard_detector.cpp.

bool CheckerboardDetector::adaptive_thresh_flag

Definition at line 112 of file checkerboard_detector.cpp.

double CheckerboardDetector::axis_size_

Definition at line 116 of file checkerboard_detector.cpp.

ros::Subscriber CheckerboardDetector::camInfoSubscriber

Definition at line 88 of file checkerboard_detector.cpp.

ros::Subscriber CheckerboardDetector::camInfoSubscriber2

Definition at line 88 of file checkerboard_detector.cpp.

int CheckerboardDetector::circle_size_

Definition at line 117 of file checkerboard_detector.cpp.

int CheckerboardDetector::dimx

Definition at line 107 of file checkerboard_detector.cpp.

int CheckerboardDetector::dimy

Definition at line 107 of file checkerboard_detector.cpp.

int CheckerboardDetector::display

Definition at line 100 of file checkerboard_detector.cpp.

bool CheckerboardDetector::fast_check_flag

Definition at line 115 of file checkerboard_detector.cpp.

bool CheckerboardDetector::filter_quads_flag

Definition at line 113 of file checkerboard_detector.cpp.

string CheckerboardDetector::frame_id

Definition at line 98 of file checkerboard_detector.cpp.

double CheckerboardDetector::fRectSize[2]

Definition at line 109 of file checkerboard_detector.cpp.

ros::Subscriber CheckerboardDetector::imageSubscriber

Definition at line 89 of file checkerboard_detector.cpp.

ros::Subscriber CheckerboardDetector::imageSubscriber2

Definition at line 89 of file checkerboard_detector.cpp.

bool CheckerboardDetector::invert_color

Definition at line 99 of file checkerboard_detector.cpp.

ros::Time CheckerboardDetector::lasttime

Definition at line 104 of file checkerboard_detector.cpp.

map<string,int> CheckerboardDetector::maptypes

Definition at line 103 of file checkerboard_detector.cpp.

int CheckerboardDetector::maxboard

Definition at line 100 of file checkerboard_detector.cpp.

int CheckerboardDetector::message_throttle_

Definition at line 96 of file checkerboard_detector.cpp.

int CheckerboardDetector::message_throttle_counter_

Definition at line 97 of file checkerboard_detector.cpp.

boost::mutex CheckerboardDetector::mutex

Definition at line 105 of file checkerboard_detector.cpp.

bool CheckerboardDetector::normalize_image_flag

Definition at line 114 of file checkerboard_detector.cpp.

int CheckerboardDetector::publish_queue_size

Definition at line 100 of file checkerboard_detector.cpp.

int CheckerboardDetector::queue_size

Definition at line 100 of file checkerboard_detector.cpp.

boost::shared_ptr<dynamic_reconfigure::Server<Config> > CheckerboardDetector::srv

Definition at line 111 of file checkerboard_detector.cpp.

bool CheckerboardDetector::use_P

Definition at line 108 of file checkerboard_detector.cpp.

vector<CHECKERBOARD> CheckerboardDetector::vcheckers

Definition at line 101 of file checkerboard_detector.cpp.

int CheckerboardDetector::verbose

Definition at line 100 of file checkerboard_detector.cpp.

vector< string > CheckerboardDetector::vstrtypes

Definition at line 102 of file checkerboard_detector.cpp.


The documentation for this class was generated from the following file:


checkerboard_detector
Author(s): Rosen Diankov (rdiankov@cs.cmu.edu)
autogenerated on Mon May 3 2021 03:03:00