Clean up publication namespace
This commit is contained in:
parent
809c4d3ad2
commit
4c6a0b9478
1 changed files with 3 additions and 3 deletions
|
@ -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"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue