mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-05 12:54:57 +00:00
added thread
This commit is contained in:
@@ -54,6 +54,7 @@ int main()
|
|||||||
std::thread image (CapnSend);
|
std::thread image (CapnSend);
|
||||||
std::thread safety([&]() { robot.robotSafety(&message); });
|
std::thread safety([&]() { robot.robotSafety(&message); });
|
||||||
std::thread sendMqtt([&]() { sendKobukiData(robot.parser.data); });
|
std::thread sendMqtt([&]() { sendKobukiData(robot.parser.data); });
|
||||||
|
std::thread connectionThread(checkKobukiConnection);
|
||||||
|
|
||||||
while(true){
|
while(true){
|
||||||
std::string message = readMQTT();
|
std::string message = readMQTT();
|
||||||
|
Reference in New Issue
Block a user