From 10c749ceafb15c5293bce270e726cf5d37d5f0f7 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Wed, 27 Mar 2024 20:14:43 +0100 Subject: [PATCH] change TCP request format --- tcp/MyClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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