mirror of
https://github.com/modelec/TCPSocketServer.git
synced 2026-01-19 00:47:36 +01:00
speed
This commit is contained in:
@@ -675,10 +675,8 @@ void TCPServer::goToAruco(const ArucoTag &arucoTag, const int pince) {
|
||||
|
||||
double thetaPrime = std::atan2(centerPlantY, centerPlantX);
|
||||
|
||||
this->setSpeed(150);
|
||||
this->rotate(this->robotPose.theta /*+ rotate*/ - thetaPrime);
|
||||
awaitRobotIdle();
|
||||
this->setSpeed(200);
|
||||
|
||||
double robotPosForPotX = (centerPlantX * std::cos(theta) + centerPlantY * std::sin(theta)) + robotPosX;
|
||||
double robotPosForPotY = (-centerPlantX * std::sin(theta) + centerPlantY * std::cos(theta)) + robotPosY;
|
||||
|
||||
Reference in New Issue
Block a user