ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You could comment out the for loop with "auto detector" and replace with the following block.
for(size_t i=0;i<detectors.size();++i)
{
if(detectors.at(i)->empty()) return true;
}
return false;
Let me know if this solution is ok for you.