mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-03 20:04:58 +00:00
comment out monitorKobukiConnection thread for debugging
This commit is contained in:
@@ -16,7 +16,7 @@ std::string readMQTT();
|
||||
void parseMQTT(std::string message);
|
||||
void CapnSend();
|
||||
void reconnectKobuki();
|
||||
void monitorKobukiConnection();
|
||||
// void monitorKobukiConnection();
|
||||
// ip, clientID, username, password
|
||||
MqttClient client("ws://145.92.224.21/ws/", "KobukiRPI", "rpi",
|
||||
"rpiwachtwoordofzo"); // create a client object
|
||||
@@ -40,7 +40,7 @@ int main() {
|
||||
setup();
|
||||
// reconnectKobuki();
|
||||
|
||||
std::thread connectionMonitor(monitorKobukiConnection);
|
||||
// std::thread connectionMonitor(monitorKobukiConnection);
|
||||
std::thread image(CapnSend);
|
||||
std::thread safety([&]() { robot.robotSafety(&message); });
|
||||
std::thread sendMqtt([&]() { sendKobukiData(robot.parser.data); });
|
||||
|
Reference in New Issue
Block a user