mirror of
https://github.com/modelec/TCPSocketServer.git
synced 2026-01-18 16:37:29 +01:00
remove pot
This commit is contained in:
@@ -1511,7 +1511,8 @@ void TCPServer::go3Plants(const StratPattern sp) {
|
||||
|
||||
this->setMaxSpeed();
|
||||
|
||||
this->transit(plantPosition[0]-600, plantPosition[1], 150);
|
||||
// this->transit(plantPosition[0]-600, plantPosition[1], 150);
|
||||
this->go(plantPosition[0]-600, plantPosition[1]);
|
||||
awaitRobotIdle();
|
||||
|
||||
this->baisserBras();
|
||||
@@ -1586,13 +1587,13 @@ void TCPServer::removePot(StratPattern sp) {
|
||||
this->setMaxSpeed();
|
||||
if (team == BLUE) {
|
||||
if (sp == REMOVE_POT_J2) {
|
||||
this->go(200, 1000);
|
||||
this->go(220, 1000);
|
||||
awaitRobotIdle();
|
||||
this->setSpeed(150);
|
||||
this->go(180, 400);
|
||||
this->go(200, 400);
|
||||
awaitRobotIdle();
|
||||
this->setMaxSpeed();
|
||||
this->go(220, 650);
|
||||
this->go(230, 650);
|
||||
awaitRobotIdle();
|
||||
}
|
||||
} else if (team == YELLOW) {
|
||||
|
||||
Reference in New Issue
Block a user