diff --git a/tcp/MyClient.cpp b/tcp/MyClient.cpp index 5946165..f8899fc 100644 --- a/tcp/MyClient.cpp +++ b/tcp/MyClient.cpp @@ -39,7 +39,7 @@ void MyClient::handleMessage(const std::string& message) this->sendMessage(res.c_str()); } else if (messageSplited[2] == "ping") { - this->sendMessage("pong aruco"); + this->sendMessage("aruco;strat;pong;1"); } else if (messageSplited[2] == "set robot_pos") { // cut the string with space and take the first, second, third and fourth element