change TCP request format

This commit is contained in:
ackimixs
2024-03-27 20:14:43 +01:00
parent b74a8f3eef
commit 10c749ceaf

View File

@@ -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