#include <target_object_recognizer.h>
Public Member Functions | |
void | detectedCallback (const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &detected_objects) |
void | robotPoseCallback (const geometry_msgs::PoseWithCovarianceStamped::ConstPtr &amcl_pose) |
void | run () |
TargetObjectRecognizer (ros::NodeHandle nh) | |
~TargetObjectRecognizer () | |
Private Member Functions | |
double | calcDistance (geometry_msgs::Pose pose_1, geometry_msgs::Pose pose_2) |
Private Attributes | |
ros::Subscriber | detected_sub_ |
geometry_msgs::PoseWithCovarianceStamped | latest_robot_pose_ |
ros::NodeHandle | nh_ |
ros::Rate | rate_ |
ros::Publisher | recognized_pub_ |
boost::mutex | robot_pose_mutex_ |
ros::Subscriber | robotpose_sub_ |
std::vector< TargetObject > | target_object_candidates_ |
tf::TransformListener | tf_ |
Definition at line 36 of file target_object_recognizer.h.
Definition at line 64 of file target_object_recognizer.cpp.
Definition at line 73 of file target_object_recognizer.cpp.
double TargetObjectRecognizer::calcDistance | ( | geometry_msgs::Pose | pose_1, |
geometry_msgs::Pose | pose_2 | ||
) | [private] |
Definition at line 148 of file target_object_recognizer.cpp.
void TargetObjectRecognizer::detectedCallback | ( | const jsk_recognition_msgs::BoundingBoxArray::ConstPtr & | detected_objects | ) |
Definition at line 77 of file target_object_recognizer.cpp.
void TargetObjectRecognizer::robotPoseCallback | ( | const geometry_msgs::PoseWithCovarianceStamped::ConstPtr & | amcl_pose | ) |
Definition at line 120 of file target_object_recognizer.cpp.
void TargetObjectRecognizer::run | ( | ) |
Definition at line 140 of file target_object_recognizer.cpp.
Definition at line 49 of file target_object_recognizer.h.
geometry_msgs::PoseWithCovarianceStamped TargetObjectRecognizer::latest_robot_pose_ [private] |
Definition at line 52 of file target_object_recognizer.h.
ros::NodeHandle TargetObjectRecognizer::nh_ [private] |
Definition at line 46 of file target_object_recognizer.h.
ros::Rate TargetObjectRecognizer::rate_ [private] |
Definition at line 47 of file target_object_recognizer.h.
Definition at line 48 of file target_object_recognizer.h.
boost::mutex TargetObjectRecognizer::robot_pose_mutex_ [private] |
Definition at line 54 of file target_object_recognizer.h.
Definition at line 50 of file target_object_recognizer.h.
std::vector<TargetObject> TargetObjectRecognizer::target_object_candidates_ [private] |
Definition at line 53 of file target_object_recognizer.h.
tf::TransformListener TargetObjectRecognizer::tf_ [private] |
Definition at line 51 of file target_object_recognizer.h.