From d8b3ec293831e65a3954cb6174e569453b7b1da6 Mon Sep 17 00:00:00 2001 From: "ishak jmilou.ishak" Date: Tue, 14 Jan 2025 16:39:52 +0100 Subject: [PATCH] added thread --- src/C++/Driver/src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/C++/Driver/src/main.cpp b/src/C++/Driver/src/main.cpp index 589476d..71c85d1 100644 --- a/src/C++/Driver/src/main.cpp +++ b/src/C++/Driver/src/main.cpp @@ -54,6 +54,7 @@ int main() std::thread image (CapnSend); std::thread safety([&]() { robot.robotSafety(&message); }); std::thread sendMqtt([&]() { sendKobukiData(robot.parser.data); }); + std::thread connectionThread(checkKobukiConnection); while(true){ std::string message = readMQTT();