mirror of
https://github.com/modelec/TCPSocketServer.git
synced 2026-01-18 16:37:29 +01:00
lidar
This commit is contained in:
@@ -925,7 +925,7 @@ void TCPServer::handleEmergency(int distance, double angle) {
|
|||||||
|
|
||||||
this->stopEmergency = false;
|
this->stopEmergency = false;
|
||||||
|
|
||||||
std::this_thread::sleep_for(std::chrono::seconds(2));
|
std::this_thread::sleep_for(std::chrono::seconds(1));
|
||||||
|
|
||||||
/*double newAngle = this->robotPose.theta + angle;
|
/*double newAngle = this->robotPose.theta + angle;
|
||||||
double newX = this->robotPose.pos.x + 200 * std::cos(newAngle);
|
double newX = this->robotPose.pos.x + 200 * std::cos(newAngle);
|
||||||
|
|||||||
Reference in New Issue
Block a user