Public Member Functions | Protected Attributes
DetectOutletAction Class Reference

List of all members.

Public Member Functions

void detectCb (const sensor_msgs::ImageConstPtr &image_msg, const sensor_msgs::CameraInfoConstPtr &info_msg)
 DetectOutletAction (const std::string &name)
void goalCb ()
void preemptCb ()
void publishDisplayImage (const cv::Mat &source, const std::vector< cv::Point2f > &image_points, bool success)
void timeoutCb (const ros::TimerEvent &e)

Protected Attributes

std::string action_name_
actionlib::SimpleActionServer
< pr2_plugs_msgs::VisionOutletDetectionAction > 
as_
image_geometry::PinholeCameraModel cam_model_
outlet_pose_estimation::Detector detector_
sensor_msgs::Image display_img_
cv::Mat display_img_cv_
image_transport::Publisher display_pub_
image_transport::ImageTransport it_
ros::Publisher marker_pub_
ros::NodeHandle nh_
visual_pose_estimation::PoseEstimator pose_estimator_
tf::Stamped< tf::Poseprior_
tf::Stamped< tf::Poseprior_in_camera_
ros::Timer pub_timer_
image_transport::CameraSubscriber sub_
tf::TransformBroadcaster tf_broadcaster_
tf::TransformListener tf_listener_
bool update_transformed_prior_
tf::Stamped< tf::Vector3 > wall_normal_

Detailed Description

Definition at line 43 of file vision_detect_outlet.cpp.


Constructor & Destructor Documentation

DetectOutletAction::DetectOutletAction ( const std::string &  name) [inline]

Definition at line 46 of file vision_detect_outlet.cpp.


Member Function Documentation

void DetectOutletAction::detectCb ( const sensor_msgs::ImageConstPtr &  image_msg,
const sensor_msgs::CameraInfoConstPtr &  info_msg 
) [inline]
Todo:
Try mono8 instead
Todo:
Publish feedback?
Todo:
waitForTransform?

Definition at line 109 of file vision_detect_outlet.cpp.

void DetectOutletAction::goalCb ( ) [inline]
Todo:
Still need to check isPreemptRequested?

Definition at line 81 of file vision_detect_outlet.cpp.

void DetectOutletAction::preemptCb ( ) [inline]

Definition at line 101 of file vision_detect_outlet.cpp.

void DetectOutletAction::publishDisplayImage ( const cv::Mat &  source,
const std::vector< cv::Point2f > &  image_points,
bool  success 
) [inline]

Definition at line 202 of file vision_detect_outlet.cpp.

void DetectOutletAction::timeoutCb ( const ros::TimerEvent e) [inline]

Definition at line 70 of file vision_detect_outlet.cpp.


Member Data Documentation

std::string DetectOutletAction::action_name_ [protected]

Definition at line 214 of file vision_detect_outlet.cpp.

actionlib::SimpleActionServer<pr2_plugs_msgs::VisionOutletDetectionAction> DetectOutletAction::as_ [protected]

Definition at line 213 of file vision_detect_outlet.cpp.

Definition at line 232 of file vision_detect_outlet.cpp.

Definition at line 233 of file vision_detect_outlet.cpp.

sensor_msgs::Image DetectOutletAction::display_img_ [protected]

Definition at line 223 of file vision_detect_outlet.cpp.

Definition at line 224 of file vision_detect_outlet.cpp.

Definition at line 222 of file vision_detect_outlet.cpp.

Definition at line 212 of file vision_detect_outlet.cpp.

Definition at line 225 of file vision_detect_outlet.cpp.

Definition at line 211 of file vision_detect_outlet.cpp.

Definition at line 234 of file vision_detect_outlet.cpp.

Definition at line 235 of file vision_detect_outlet.cpp.

Definition at line 236 of file vision_detect_outlet.cpp.

Definition at line 219 of file vision_detect_outlet.cpp.

Definition at line 217 of file vision_detect_outlet.cpp.

Definition at line 229 of file vision_detect_outlet.cpp.

Definition at line 228 of file vision_detect_outlet.cpp.

Definition at line 238 of file vision_detect_outlet.cpp.

Definition at line 237 of file vision_detect_outlet.cpp.


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


pr2_plugs_actions
Author(s): Jon Bohren, Patrick Mihelich, Wim Meeussen, and Melonee Wise
autogenerated on Mon Dec 2 2013 13:24:10