ros: Fixed detection not working if gui was false (#100)

This commit is contained in:
matlabbe 2020-01-08 17:42:19 -05:00
parent aefb42dc57
commit 0f03b69144

View File

@ -179,7 +179,7 @@ int main(int argc, char** argv)
QCoreApplication app(argc, argv);
// connect stuff:
QObject::connect(camera, SIGNAL(imageReceived(const cv::Mat &)), findObjectROS, SLOT(detect(const cv::Mat &)));
QObject::connect(camera, SIGNAL(imageReceived(const cv::Mat &, const QString &, double, const cv::Mat &, float)), findObjectROS, SLOT(detect(const cv::Mat &, const QString &, double, const cv::Mat &, float)));
//loop
camera->start();