This commit is contained in:
ackimixs
2024-03-21 18:32:12 +01:00
parent 9bac5ca34a
commit 4cad9a2c80
2 changed files with 6 additions and 1 deletions

View File

@@ -97,6 +97,11 @@ void TCPServer::acceptConnections()
void TCPServer::handleMessage(const std::string& message, int clientSocket)
{
std::cout << "Message from : " << clientSocket << " : " << message << std::endl;
if (message.find("request robotPose") != std::string::npos)
{
broadcastMessage("robotPose 12 13 14 15");
}
}