Public Member Functions | |
void | cameraCallback (const sensor_msgs::CameraInfoConstPtr &camera_info) |
virtual blort_msgs::RecoveryCall | getRecoveryCall (std::vector< std::string > &i, const sensor_msgs::ImageConstPtr &msg) |
void | goalCb (AcServer::GoalHandle gh) |
void | imageCallback (const sensor_msgs::ImageConstPtr &image) |
virtual void | reconf_callback (blort_ros::TrackerConfig &config, uint32_t level) |
SingleShotMode (TrackerNode *parent) | |
bool | singleShotService (blort_msgs::EstimatePose::Request &req, blort_msgs::EstimatePose::Response &resp) |
Private Types | |
typedef actionlib::ActionServer < blort_msgs::RecognizeAction > | AcServer |
Private Member Functions | |
double | getDistance (const sensor_msgs::ImageConstPtr &img, double x, double y, double z) |
Private Attributes | |
AcServer | as_ |
double | conf_treshold_ |
ros::ServiceClient | detector_set_caminfo_service |
blort_msgs::RecognizeFeedback | feedback_ |
bool | inServiceCall |
sensor_msgs::CameraInfoConstPtr | lastCameraInfo |
sensor_msgs::ImageConstPtr | lastImage |
TrackerNode * | parent_ |
blort_msgs::RecognizeResult | result_ |
std::vector< geometry_msgs::Pose > | results_list |
ros::ServiceServer | singleshot_service |
double | time_to_run_singleshot |
Definition at line 153 of file tracker_node.h.
typedef actionlib::ActionServer<blort_msgs::RecognizeAction> TrackerNode::SingleShotMode::AcServer [private] |
Definition at line 155 of file tracker_node.h.
Definition at line 231 of file tracker_node.cpp.
void TrackerNode::SingleShotMode::cameraCallback | ( | const sensor_msgs::CameraInfoConstPtr & | camera_info | ) |
double TrackerNode::SingleShotMode::getDistance | ( | const sensor_msgs::ImageConstPtr & | img, |
double | x, | ||
double | y, | ||
double | z | ||
) | [private] |
Definition at line 511 of file tracker_node.cpp.
blort_msgs::RecoveryCall TrackerNode::SingleShotMode::getRecoveryCall | ( | std::vector< std::string > & | i, |
const sensor_msgs::ImageConstPtr & | msg | ||
) | [virtual] |
Implements TrackerNode::Mode.
Definition at line 258 of file tracker_node.cpp.
Definition at line 357 of file tracker_node.cpp.
void TrackerNode::SingleShotMode::imageCallback | ( | const sensor_msgs::ImageConstPtr & | image | ) |
void TrackerNode::SingleShotMode::reconf_callback | ( | blort_ros::TrackerConfig & | config, |
uint32_t | level | ||
) | [virtual] |
Implements TrackerNode::Mode.
Definition at line 253 of file tracker_node.cpp.
bool TrackerNode::SingleShotMode::singleShotService | ( | blort_msgs::EstimatePose::Request & | req, |
blort_msgs::EstimatePose::Response & | resp | ||
) |
Definition at line 280 of file tracker_node.cpp.
AcServer TrackerNode::SingleShotMode::as_ [private] |
Definition at line 158 of file tracker_node.h.
double TrackerNode::SingleShotMode::conf_treshold_ [private] |
Definition at line 162 of file tracker_node.h.
Definition at line 160 of file tracker_node.h.
blort_msgs::RecognizeFeedback TrackerNode::SingleShotMode::feedback_ [private] |
Definition at line 169 of file tracker_node.h.
bool TrackerNode::SingleShotMode::inServiceCall [private] |
Definition at line 161 of file tracker_node.h.
sensor_msgs::CameraInfoConstPtr TrackerNode::SingleShotMode::lastCameraInfo [private] |
Definition at line 167 of file tracker_node.h.
sensor_msgs::ImageConstPtr TrackerNode::SingleShotMode::lastImage [private] |
Definition at line 166 of file tracker_node.h.
TrackerNode* TrackerNode::SingleShotMode::parent_ [private] |
Definition at line 163 of file tracker_node.h.
blort_msgs::RecognizeResult TrackerNode::SingleShotMode::result_ [private] |
Definition at line 170 of file tracker_node.h.
std::vector<geometry_msgs::Pose> TrackerNode::SingleShotMode::results_list [private] |
Definition at line 164 of file tracker_node.h.
Definition at line 157 of file tracker_node.h.
double TrackerNode::SingleShotMode::time_to_run_singleshot [private] |
Definition at line 159 of file tracker_node.h.