#include <FindObjectROS.h>
Public Slots | |
void | publish (const find_object::DetectionInfo &info) |
void | setDepthData (const std::string &frameId, const ros::Time &stamp, const cv::Mat &depth, float depthConstant) |
Public Member Functions | |
FindObjectROS (const std::string &objPrefix, QObject *parent=0) | |
virtual | ~FindObjectROS () |
Private Member Functions | |
cv::Vec3f | getDepth (const cv::Mat &depthImage, int x, int y, float cx, float cy, float fx, float fy) |
Private Attributes | |
cv::Mat | depth_ |
float | depthConstant_ |
std::string | frameId_ |
std::string | objFramePrefix_ |
ros::Publisher | pub_ |
ros::Publisher | pubStamped_ |
ros::Time | stamp_ |
tf::TransformBroadcaster | tfBroadcaster_ |
Definition at line 42 of file FindObjectROS.h.
FindObjectROS::FindObjectROS | ( | const std::string & | objPrefix, |
QObject * | parent = 0 |
||
) |
Definition at line 37 of file FindObjectROS.cpp.
virtual FindObjectROS::~FindObjectROS | ( | ) | [inline, virtual] |
Definition at line 48 of file FindObjectROS.h.
cv::Vec3f FindObjectROS::getDepth | ( | const cv::Mat & | depthImage, |
int | x, | ||
int | y, | ||
float | cx, | ||
float | cy, | ||
float | fx, | ||
float | fy | ||
) | [private] |
Definition at line 182 of file FindObjectROS.cpp.
void FindObjectROS::publish | ( | const find_object::DetectionInfo & | info | ) | [slot] |
Definition at line 52 of file FindObjectROS.cpp.
void FindObjectROS::setDepthData | ( | const std::string & | frameId, |
const ros::Time & | stamp, | ||
const cv::Mat & | depth, | ||
float | depthConstant | ||
) | [slot] |
Definition at line 171 of file FindObjectROS.cpp.
cv::Mat FindObjectROS::depth_ [private] |
Definition at line 71 of file FindObjectROS.h.
float FindObjectROS::depthConstant_ [private] |
Definition at line 72 of file FindObjectROS.h.
std::string FindObjectROS::frameId_ [private] |
Definition at line 69 of file FindObjectROS.h.
std::string FindObjectROS::objFramePrefix_ [private] |
Definition at line 74 of file FindObjectROS.h.
ros::Publisher FindObjectROS::pub_ [private] |
Definition at line 66 of file FindObjectROS.h.
ros::Publisher FindObjectROS::pubStamped_ [private] |
Definition at line 67 of file FindObjectROS.h.
ros::Time FindObjectROS::stamp_ [private] |
Definition at line 70 of file FindObjectROS.h.
Definition at line 75 of file FindObjectROS.h.