Public Member Functions | |
void | onInit () |
Private Member Functions | |
void | connectCb (const ros::SingleSubscriberPublisher &ssp) |
void | disconnectCb (const ros::SingleSubscriberPublisher &) |
void | do_work (const sensor_msgs::ImageConstPtr &msg, const std::string input_frame_from_msg) |
void | imageCallback (const sensor_msgs::ImageConstPtr &msg) |
void | subscribe () |
void | unsubscribe () |
Private Attributes | |
image_transport::Subscriber | _img_sub |
boost::shared_ptr < image_transport::ImageTransport > | _it |
ros::NodeHandle | _ln |
ros::NodeHandle | _nh |
bool | _print_point_num |
double | _rate |
jsk_recognition_msgs::SparseImagePtr | _spr_img_ptr |
ros::Publisher | _spr_img_pub |
int | _subscriber_count |
Definition at line 17 of file sparse_image_encoder.cpp.
void jsk_perception::SparseImageEncoder::connectCb | ( | const ros::SingleSubscriberPublisher & | ssp | ) | [inline, private] |
Definition at line 92 of file sparse_image_encoder.cpp.
void jsk_perception::SparseImageEncoder::disconnectCb | ( | const ros::SingleSubscriberPublisher & | ) | [inline, private] |
Definition at line 98 of file sparse_image_encoder.cpp.
void jsk_perception::SparseImageEncoder::do_work | ( | const sensor_msgs::ImageConstPtr & | msg, |
const std::string | input_frame_from_msg | ||
) | [inline, private] |
Definition at line 35 of file sparse_image_encoder.cpp.
void jsk_perception::SparseImageEncoder::imageCallback | ( | const sensor_msgs::ImageConstPtr & | msg | ) | [inline, private] |
Definition at line 31 of file sparse_image_encoder.cpp.
void jsk_perception::SparseImageEncoder::onInit | ( | ) | [inline, virtual] |
Implements nodelet::Nodelet.
Definition at line 106 of file sparse_image_encoder.cpp.
void jsk_perception::SparseImageEncoder::subscribe | ( | ) | [inline, private] |
Definition at line 82 of file sparse_image_encoder.cpp.
void jsk_perception::SparseImageEncoder::unsubscribe | ( | ) | [inline, private] |
Definition at line 87 of file sparse_image_encoder.cpp.
Definition at line 20 of file sparse_image_encoder.cpp.
boost::shared_ptr<image_transport::ImageTransport> jsk_perception::SparseImageEncoder::_it [private] |
Definition at line 24 of file sparse_image_encoder.cpp.
Definition at line 26 of file sparse_image_encoder.cpp.
Definition at line 25 of file sparse_image_encoder.cpp.
bool jsk_perception::SparseImageEncoder::_print_point_num [private] |
Definition at line 29 of file sparse_image_encoder.cpp.
double jsk_perception::SparseImageEncoder::_rate [private] |
Definition at line 28 of file sparse_image_encoder.cpp.
jsk_recognition_msgs::SparseImagePtr jsk_perception::SparseImageEncoder::_spr_img_ptr [private] |
Definition at line 22 of file sparse_image_encoder.cpp.
Definition at line 19 of file sparse_image_encoder.cpp.
int jsk_perception::SparseImageEncoder::_subscriber_count [private] |
Definition at line 27 of file sparse_image_encoder.cpp.