mirror of
https://github.com/modelec/TCPSocketServer.git
synced 2026-01-19 00:47:36 +01:00
sleep
This commit is contained in:
@@ -239,7 +239,7 @@ void TCPServer::handleMessage(const std::string& message, int clientSocket)
|
||||
for (int j = 0; j < 3; j++) {
|
||||
std::cout << "AHHHHHHHHHHHHHHHHHH " << this->initRobotPose.pos.x << " " << this->initRobotPose.pos.y << " " << this->initRobotPose.theta << std::endl;
|
||||
this->setPosition(this->initRobotPose);
|
||||
usleep(200'000);
|
||||
usleep(1'000'000);
|
||||
}
|
||||
|
||||
this->broadcastMessage("strat;lidar;set team;" + std::to_string((this->team == BLUE ? 0 : 1)) + "\n");
|
||||
|
||||
Reference in New Issue
Block a user