Public Member Functions | Private Attributes | List of all members
BlockManipulation Class Reference

Public Member Functions

void addBlock (float x, float y, float z, float rz, float r, float g, float b, int n)
 
 BlockManipulation ()
 
void cloudCb (const sensor_msgs::PointCloud2ConstPtr &msg)
 
Marker makeBox (InteractiveMarker &msg, float r, float g, float b)
 
void moveBlock (const InteractiveMarkerFeedbackConstPtr &feedback)
 

Private Attributes

actionlib::SimpleActionClient< simple_arm_server::MoveArmAction > client_
 
std::string last_block_
 
std::vector< Blockmarker_names_
 
int markers_
 
int moving_
 
ros::NodeHandle nh
 
ros::Publisher pub_
 
interactive_markers::InteractiveMarkerServer server
 
int skip_
 
ros::Subscriber sub_
 
tf::TransformListener tf_listener_
 
float x_
 
float y_
 

Detailed Description

Definition at line 85 of file block_manipulation.cpp.

Constructor & Destructor Documentation

BlockManipulation::BlockManipulation ( )
inline

Definition at line 104 of file block_manipulation.cpp.

Member Function Documentation

void BlockManipulation::addBlock ( float  x,
float  y,
float  z,
float  rz,
float  r,
float  g,
float  b,
int  n 
)
inline

Definition at line 244 of file block_manipulation.cpp.

void BlockManipulation::cloudCb ( const sensor_msgs::PointCloud2ConstPtr &  msg)
inline

Definition at line 276 of file block_manipulation.cpp.

Marker BlockManipulation::makeBox ( InteractiveMarker &  msg,
float  r,
float  g,
float  b 
)
inline

Definition at line 227 of file block_manipulation.cpp.

void BlockManipulation::moveBlock ( const InteractiveMarkerFeedbackConstPtr &  feedback)
inline

Definition at line 134 of file block_manipulation.cpp.

Member Data Documentation

actionlib::SimpleActionClient<simple_arm_server::MoveArmAction> BlockManipulation::client_
private

Definition at line 89 of file block_manipulation.cpp.

std::string BlockManipulation::last_block_
private

Definition at line 97 of file block_manipulation.cpp.

std::vector<Block> BlockManipulation::marker_names_
private

Definition at line 98 of file block_manipulation.cpp.

int BlockManipulation::markers_
private

Definition at line 93 of file block_manipulation.cpp.

int BlockManipulation::moving_
private

Definition at line 94 of file block_manipulation.cpp.

ros::NodeHandle BlockManipulation::nh
private

Definition at line 100 of file block_manipulation.cpp.

ros::Publisher BlockManipulation::pub_
private

Definition at line 90 of file block_manipulation.cpp.

interactive_markers::InteractiveMarkerServer BlockManipulation::server
private

Definition at line 88 of file block_manipulation.cpp.

int BlockManipulation::skip_
private

Definition at line 95 of file block_manipulation.cpp.

ros::Subscriber BlockManipulation::sub_
private

Definition at line 91 of file block_manipulation.cpp.

tf::TransformListener BlockManipulation::tf_listener_
private

Definition at line 92 of file block_manipulation.cpp.

float BlockManipulation::x_
private

Definition at line 96 of file block_manipulation.cpp.

float BlockManipulation::y_
private

Definition at line 96 of file block_manipulation.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