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< Block > | marker_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_ |
Definition at line 85 of file block_manipulation.cpp.
BlockManipulation::BlockManipulation | ( | ) | [inline] |
Definition at line 104 of file block_manipulation.cpp.
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.
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.
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.
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.