mirror of
https://github.com/modelec/TCPSocketServer.git
synced 2026-01-19 00:47:36 +01:00
map
This commit is contained in:
@@ -169,7 +169,7 @@ void TCPServer::handleMessage(const std::string& message, int clientSocket)
|
||||
if (args[0] == "0") {
|
||||
if (!handleEmergecnyFlag) {
|
||||
int angle = static_cast<int>((value * PI / 2) / 327.67f * 100);
|
||||
this->broadcastMessage("strat;arduino;angle;" + std::to_string(angle) + "\n");
|
||||
// this->broadcastMessage("strat;arduino;angle;" + std::to_string(angle) + "\n");
|
||||
}
|
||||
}
|
||||
else if (args[0] == "1") {
|
||||
|
||||
Reference in New Issue
Block a user