mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-03 11:55:00 +00:00
added thread
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user