mirror of
https://github.com/modelec/TCPSocketServer.git
synced 2026-01-19 00:47:36 +01:00
aruco tag handler
This commit is contained in:
@@ -101,7 +101,7 @@ void TCPServer::handleMessage(const std::string& message, int clientSocket)
|
||||
if (message.find("request robotPose") != std::string::npos)
|
||||
{
|
||||
broadcastMessage("robotPose 12 13 14 15");
|
||||
} else if (message.rfind("arucoTag", 0) == 0)
|
||||
} else if (message.rfind("arucotags", 0) == 0)
|
||||
{
|
||||
std::cout << "Received aruco tag: " << message << std::endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user