Fixed the remaining part of the number of subscribers check for image

topics.
Esse commit está contido em:
Mani Monajjemi
2012-08-07 10:49:37 -07:00
commit de autolab
commit 909ee16d96
-2
Ver Arquivo
@@ -236,8 +236,6 @@ void ARDroneDriver::publish_video()
*/
if (IS_ARDRONE2)
{
if (hori_pub.getNumSubscribers() == 0 || vert_pub.getNumSubscribers() == 0)
return;
sensor_msgs::Image image_msg;
sensor_msgs::CameraInfo cinfo_msg;
sensor_msgs::Image::_data_type::iterator _it;