mirror of
https://github.com/modelec/TCPSocketServer.git
synced 2026-01-20 01:45:50 +01:00
speed
This commit is contained in:
@@ -859,15 +859,19 @@ void TCPServer::findAndGoFlower(StratPattern sp) {
|
||||
this->go(1000, 210);
|
||||
awaitRobotIdle();
|
||||
|
||||
this->setSpeed(190);
|
||||
this->rotate(-PI/2);
|
||||
awaitRobotIdle();
|
||||
this->setSpeed(200);
|
||||
}
|
||||
else if (sp == TAKE_FLOWER_BOTTOM) {
|
||||
this->go(1000, 1790);
|
||||
awaitRobotIdle();
|
||||
|
||||
this->setSpeed(190);
|
||||
this->rotate(PI/2);
|
||||
awaitRobotIdle();
|
||||
this->setSpeed(190);
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
@@ -876,15 +880,19 @@ void TCPServer::findAndGoFlower(StratPattern sp) {
|
||||
this->go(2000, 210);
|
||||
awaitRobotIdle();
|
||||
|
||||
this->setSpeed(190);
|
||||
this->rotate(-PI/2);
|
||||
awaitRobotIdle();
|
||||
this->setSpeed(200);
|
||||
}
|
||||
else if (sp == TAKE_FLOWER_BOTTOM) {
|
||||
this->go(2000, 1790);
|
||||
awaitRobotIdle();
|
||||
|
||||
this->setSpeed(190);
|
||||
this->rotate(PI/2);
|
||||
awaitRobotIdle();
|
||||
this->setSpeed(200);
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user