Public Member Functions | Private Member Functions | Private Attributes | List of all members
turtlebot_arm_block_manipulation::BlockDetectionServer Class Reference

Public Member Functions

 BlockDetectionServer (const std::string name)
 
void cloudCb (const sensor_msgs::PointCloud2ConstPtr &msg)
 
void goalCB ()
 
void preemptCB ()
 

Private Member Functions

void addBlock (float x, float y, float z, float angle)
 
void addTable ()
 

Private Attributes

std::string action_name_
 
std::string arm_link_
 
actionlib::SimpleActionServer< turtlebot_arm_block_manipulation::BlockDetectionAction > as_
 
ros::Publisher block_pub_
 
double block_size_
 
ros::Publisher c_obj_pub_
 
turtlebot_arm_block_manipulation::BlockDetectionFeedback feedback_
 
turtlebot_arm_block_manipulation::BlockDetectionGoalConstPtr goal_
 
ros::NodeHandle nh_
 
moveit::planning_interface::PlanningSceneInterface planning_scene_interface_
 
ros::Publisher pub_
 
turtlebot_arm_block_manipulation::BlockDetectionResult result_
 
ros::Subscriber sub_
 
double table_height_
 
std::vector< double > table_pose_
 
const double TABLE_SIZE_X = 0.5
 
const double TABLE_SIZE_Y = 1.0
 
const double TABLE_SIZE_Z = 0.05
 
tf::TransformListener tf_listener_
 

Detailed Description

Definition at line 63 of file block_detection_action_server.cpp.

Constructor & Destructor Documentation

turtlebot_arm_block_manipulation::BlockDetectionServer::BlockDetectionServer ( const std::string  name)
inline

Definition at line 99 of file block_detection_action_server.cpp.

Member Function Documentation

void turtlebot_arm_block_manipulation::BlockDetectionServer::addBlock ( float  x,
float  y,
float  z,
float  angle 
)
inlineprivate

Definition at line 339 of file block_detection_action_server.cpp.

void turtlebot_arm_block_manipulation::BlockDetectionServer::addTable ( )
inlineprivate

Definition at line 356 of file block_detection_action_server.cpp.

void turtlebot_arm_block_manipulation::BlockDetectionServer::cloudCb ( const sensor_msgs::PointCloud2ConstPtr &  msg)
inline

Definition at line 157 of file block_detection_action_server.cpp.

void turtlebot_arm_block_manipulation::BlockDetectionServer::goalCB ( )
inline

Definition at line 125 of file block_detection_action_server.cpp.

void turtlebot_arm_block_manipulation::BlockDetectionServer::preemptCB ( )
inline

Definition at line 150 of file block_detection_action_server.cpp.

Member Data Documentation

std::string turtlebot_arm_block_manipulation::BlockDetectionServer::action_name_
private

Definition at line 69 of file block_detection_action_server.cpp.

std::string turtlebot_arm_block_manipulation::BlockDetectionServer::arm_link_
private

Definition at line 82 of file block_detection_action_server.cpp.

actionlib::SimpleActionServer<turtlebot_arm_block_manipulation::BlockDetectionAction> turtlebot_arm_block_manipulation::BlockDetectionServer::as_
private

Definition at line 68 of file block_detection_action_server.cpp.

ros::Publisher turtlebot_arm_block_manipulation::BlockDetectionServer::block_pub_
private

Definition at line 86 of file block_detection_action_server.cpp.

double turtlebot_arm_block_manipulation::BlockDetectionServer::block_size_
private

Definition at line 83 of file block_detection_action_server.cpp.

ros::Publisher turtlebot_arm_block_manipulation::BlockDetectionServer::c_obj_pub_
private

Definition at line 87 of file block_detection_action_server.cpp.

turtlebot_arm_block_manipulation::BlockDetectionFeedback turtlebot_arm_block_manipulation::BlockDetectionServer::feedback_
private

Definition at line 70 of file block_detection_action_server.cpp.

turtlebot_arm_block_manipulation::BlockDetectionGoalConstPtr turtlebot_arm_block_manipulation::BlockDetectionServer::goal_
private

Definition at line 72 of file block_detection_action_server.cpp.

ros::NodeHandle turtlebot_arm_block_manipulation::BlockDetectionServer::nh_
private

Definition at line 67 of file block_detection_action_server.cpp.

moveit::planning_interface::PlanningSceneInterface turtlebot_arm_block_manipulation::BlockDetectionServer::planning_scene_interface_
private

Definition at line 77 of file block_detection_action_server.cpp.

ros::Publisher turtlebot_arm_block_manipulation::BlockDetectionServer::pub_
private

Definition at line 74 of file block_detection_action_server.cpp.

turtlebot_arm_block_manipulation::BlockDetectionResult turtlebot_arm_block_manipulation::BlockDetectionServer::result_
private

Definition at line 71 of file block_detection_action_server.cpp.

ros::Subscriber turtlebot_arm_block_manipulation::BlockDetectionServer::sub_
private

Definition at line 73 of file block_detection_action_server.cpp.

double turtlebot_arm_block_manipulation::BlockDetectionServer::table_height_
private

Definition at line 84 of file block_detection_action_server.cpp.

std::vector<double> turtlebot_arm_block_manipulation::BlockDetectionServer::table_pose_
private

Definition at line 90 of file block_detection_action_server.cpp.

const double turtlebot_arm_block_manipulation::BlockDetectionServer::TABLE_SIZE_X = 0.5
private

Definition at line 93 of file block_detection_action_server.cpp.

const double turtlebot_arm_block_manipulation::BlockDetectionServer::TABLE_SIZE_Y = 1.0
private

Definition at line 94 of file block_detection_action_server.cpp.

const double turtlebot_arm_block_manipulation::BlockDetectionServer::TABLE_SIZE_Z = 0.05
private

Definition at line 95 of file block_detection_action_server.cpp.

tf::TransformListener turtlebot_arm_block_manipulation::BlockDetectionServer::tf_listener_
private

Definition at line 79 of file block_detection_action_server.cpp.


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


turtlebot_arm_block_manipulation
Author(s): Michael Ferguson, Helen Oleynikova
autogenerated on Fri Feb 7 2020 03:56:21