Browse Source

Clean up publication namespace

master
lhark 10 years ago
parent
commit
4c6a0b9478
  1. 6
      src/papillon.cpp

6
src/papillon.cpp

@ -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…
Cancel
Save