added thread

This commit is contained in:
ishak jmilou.ishak
2025-01-14 16:39:52 +01:00
parent 97076dfe05
commit d8b3ec2938

View File

@@ -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();