Public Member Functions | Protected Attributes
ObjectSingulationNode Class Reference

List of all members.

Public Member Functions

bool getPushPose (SingulationPush::Request &req, SingulationPush::Response &res)
PushVector getPushPose (bool use_guided=true, bool no_push_calc=false)
bool getTableLocation (LocateTable::Request &req, LocateTable::Response &res)
PoseStamped getTablePlane (XYZPointCloud &cloud)
 ObjectSingulationNode (ros::NodeHandle &n)
void sensorCallback (const sensor_msgs::ImageConstPtr &img_msg, const sensor_msgs::ImageConstPtr &depth_msg, const sensor_msgs::PointCloud2ConstPtr &cloud_msg)
void spin ()

Protected Attributes

bool autorun_pcl_segmentation_
std::string base_output_path_
sensor_msgs::CameraInfo cam_info_
std::string cam_info_topic_
bool camera_initialized_
message_filters::Subscriber
< sensor_msgs::PointCloud2 > 
cloud_sub_
int crop_max_x_
int crop_max_y_
int crop_min_x_
int crop_min_y_
std_msgs::Header cur_camera_header_
cv::Mat cur_color_frame_
cv::Mat cur_depth_frame_
XYZPointCloud cur_point_cloud_
cv::Mat cur_workspace_mask_
message_filters::Subscriber
< sensor_msgs::Image > 
depth_sub_
int display_wait_ms_
bool have_depth_data_
message_filters::Subscriber
< sensor_msgs::Image > 
image_sub_
double max_workspace_x_
double max_workspace_y_
double max_workspace_z_
double min_workspace_x_
double min_workspace_y_
double min_workspace_z_
ros::NodeHandle n_
ros::NodeHandle n_private_
int num_downsamples_
shared_ptr< ObjectSingulationos_
shared_ptr
< PointCloudSegmentation
pcl_segmenter_
std_msgs::Header prev_camera_header_
cv::Mat prev_color_frame_
cv::Mat prev_depth_frame_
cv::Mat prev_workspace_mask_
ros::ServiceServer push_pose_server_
int record_count_
bool recording_input_
message_filters::Synchronizer
< MySyncPolicy
sync_
PoseStamped table_centroid_
ros::ServiceServer table_location_server_
shared_ptr< tf::TransformListenertf_
bool tracker_initialized_
bool tracking_
bool use_displays_
bool use_guided_pushes_
std::string workspace_frame_
bool write_input_to_disk_

Detailed Description

Definition at line 2597 of file object_singulation_node.cpp.


Constructor & Destructor Documentation

Definition at line 2600 of file object_singulation_node.cpp.


Member Function Documentation

bool ObjectSingulationNode::getPushPose ( SingulationPush::Request &  req,
SingulationPush::Response &  res 
) [inline]

Service request callback method to return a location and orientation for the robot to push.

Parameters:
reqThe service request
resThe service response
Returns:
true if successfull, false otherwise

Definition at line 2882 of file object_singulation_node.cpp.

PushVector ObjectSingulationNode::getPushPose ( bool  use_guided = true,
bool  no_push_calc = false 
) [inline]

Wrapper method to call the push pose from the ObjectSingulation class

Parameters:
use_guidedfind a random pose if false, otherwise calculate using the ObjectSingulation method
Returns:
The PushPose

Definition at line 2935 of file object_singulation_node.cpp.

bool ObjectSingulationNode::getTableLocation ( LocateTable::Request &  req,
LocateTable::Response &  res 
) [inline]

ROS Service callback method for determining the location of a table in the scene

Parameters:
reqThe service request
resThe service response
Returns:
true if successfull, false otherwise

Definition at line 2951 of file object_singulation_node.cpp.

PoseStamped ObjectSingulationNode::getTablePlane ( XYZPointCloud cloud) [inline]

Calculate the location of the dominant plane (table) in a point cloud

Parameters:
cloudThe point cloud containing a table
Returns:
The estimated 3D centroid of the table

Definition at line 2983 of file object_singulation_node.cpp.

void ObjectSingulationNode::sensorCallback ( const sensor_msgs::ImageConstPtr &  img_msg,
const sensor_msgs::ImageConstPtr &  depth_msg,
const sensor_msgs::PointCloud2ConstPtr &  cloud_msg 
) [inline]

Definition at line 2737 of file object_singulation_node.cpp.

void ObjectSingulationNode::spin ( ) [inline]

Executive control function for launching the node.

Definition at line 3004 of file object_singulation_node.cpp.


Member Data Documentation

Definition at line 3057 of file object_singulation_node.cpp.

Definition at line 3042 of file object_singulation_node.cpp.

sensor_msgs::CameraInfo ObjectSingulationNode::cam_info_ [protected]

Definition at line 3019 of file object_singulation_node.cpp.

std::string ObjectSingulationNode::cam_info_topic_ [protected]

Definition at line 3055 of file object_singulation_node.cpp.

Definition at line 3054 of file object_singulation_node.cpp.

message_filters::Subscriber<sensor_msgs::PointCloud2> ObjectSingulationNode::cloud_sub_ [protected]

Definition at line 3017 of file object_singulation_node.cpp.

Definition at line 3036 of file object_singulation_node.cpp.

Definition at line 3038 of file object_singulation_node.cpp.

Definition at line 3035 of file object_singulation_node.cpp.

Definition at line 3037 of file object_singulation_node.cpp.

Definition at line 3029 of file object_singulation_node.cpp.

Definition at line 3023 of file object_singulation_node.cpp.

Definition at line 3024 of file object_singulation_node.cpp.

Definition at line 3031 of file object_singulation_node.cpp.

Definition at line 3025 of file object_singulation_node.cpp.

Definition at line 3016 of file object_singulation_node.cpp.

Definition at line 3039 of file object_singulation_node.cpp.

Definition at line 3034 of file object_singulation_node.cpp.

Definition at line 3015 of file object_singulation_node.cpp.

Definition at line 3044 of file object_singulation_node.cpp.

Definition at line 3046 of file object_singulation_node.cpp.

Definition at line 3048 of file object_singulation_node.cpp.

Definition at line 3043 of file object_singulation_node.cpp.

Definition at line 3045 of file object_singulation_node.cpp.

Definition at line 3047 of file object_singulation_node.cpp.

Definition at line 3013 of file object_singulation_node.cpp.

Definition at line 3014 of file object_singulation_node.cpp.

Definition at line 3049 of file object_singulation_node.cpp.

Definition at line 3033 of file object_singulation_node.cpp.

Definition at line 3032 of file object_singulation_node.cpp.

Definition at line 3030 of file object_singulation_node.cpp.

Definition at line 3026 of file object_singulation_node.cpp.

Definition at line 3027 of file object_singulation_node.cpp.

Definition at line 3028 of file object_singulation_node.cpp.

Definition at line 3021 of file object_singulation_node.cpp.

Definition at line 3056 of file object_singulation_node.cpp.

Definition at line 3059 of file object_singulation_node.cpp.

Definition at line 3018 of file object_singulation_node.cpp.

PoseStamped ObjectSingulationNode::table_centroid_ [protected]

Definition at line 3051 of file object_singulation_node.cpp.

Definition at line 3022 of file object_singulation_node.cpp.

Definition at line 3020 of file object_singulation_node.cpp.

Definition at line 3053 of file object_singulation_node.cpp.

Definition at line 3052 of file object_singulation_node.cpp.

Definition at line 3040 of file object_singulation_node.cpp.

Definition at line 3058 of file object_singulation_node.cpp.

std::string ObjectSingulationNode::workspace_frame_ [protected]

Definition at line 3050 of file object_singulation_node.cpp.

Definition at line 3041 of file object_singulation_node.cpp.


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


tabletop_pushing
Author(s): Tucker Hermans
autogenerated on Wed Nov 27 2013 11:59:45