mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-22 22:46:33 +00:00
Fixed opi_rtsp to use network module
This commit is contained in:
@@ -27,6 +27,5 @@ uint8_t RemoteControl::sendData(uint16_t top, uint16_t left, uint16_t bottom, ui
|
|||||||
qDebug("Datagram sent successfully");
|
qDebug("Datagram sent successfully");
|
||||||
}
|
}
|
||||||
|
|
||||||
QThread::msleep(100);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ void AiEngine::inferenceResultsReceivedSlot(AiEngineInferenceResult result)
|
|||||||
//qDebug() << "AiEngine got inference results in thread: " << QThread::currentThreadId();
|
//qDebug() << "AiEngine got inference results in thread: " << QThread::currentThreadId();
|
||||||
|
|
||||||
mGimbalControl->inferenceResultSlot(result);
|
mGimbalControl->inferenceResultSlot(result);
|
||||||
//cv::imshow("Received Frame", result.frame);
|
cv::imshow("Received Frame", result.frame);
|
||||||
|
|
||||||
//#ifndef OPI5_BUILD
|
//#ifndef OPI5_BUILD
|
||||||
//cv::imshow("Received Frame", result.frame);
|
//cv::imshow("Received Frame", result.frame);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
QT += core
|
QT += core network
|
||||||
QT -= gui
|
QT -= gui
|
||||||
CONFIG += c++11 link_pkgconfig concurrent console
|
CONFIG += c++11 link_pkgconfig concurrent console
|
||||||
PKGCONFIG += opencv4
|
PKGCONFIG += opencv4
|
||||||
|
|||||||
Reference in New Issue
Block a user