mirror of
https://github.com/modelec/TCPSocketServer.git
synced 2026-03-19 22:20:43 +01:00
Add aructo tag broadcast
This commit is contained in:
@@ -260,10 +260,9 @@ void TCPServer::handleMessage(const std::string& message, int clientSocket)
|
||||
tag.setRot(std::stof(aruco[i + 4]), std::stof(aruco[i + 5]), std::stof(aruco[i + 6]));
|
||||
|
||||
handleArucoTag(tag);
|
||||
|
||||
// Broadcast the aruco tag to all clients
|
||||
this->broadcastMessage(message.c_str(), clientSocket);
|
||||
}
|
||||
// Broadcast the aruco tag to all clients
|
||||
this->broadcastMessage(message.c_str(), clientSocket);
|
||||
}
|
||||
}
|
||||
else if (tokens[0] == "arduino") {
|
||||
|
||||
Reference in New Issue
Block a user