Clean up publication namespace

This commit is contained in:
lhark 2016-06-14 17:44:37 +02:00
parent 809c4d3ad2
commit 4c6a0b9478

View file

@ -37,9 +37,9 @@ class Traite_image {
Traite_image() : n("~"),it(n) {
pub_img = it.advertise("/image_out", 1);
pub_thres = it.advertise("/thres_out", 1);
pub_cmd = n.advertise<papillon::BoundingBox>("/bbox", 1);
pub_img = it.advertise("/papillon/image_out", 1);
pub_thres = it.advertise("/papillon/thres_out", 1);
pub_cmd = n.advertise<papillon::BoundingBox>("/papillon/bbox", 1);
sub = it.subscribe("/bebop/image_raw", 1, [this](const sensor_msgs::ImageConstPtr& img) -> void { this->on_image(img);},ros::VoidPtr(),image_transport::TransportHints("compressed"));
}