Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesToparr committed May 27, 2022
2 parents 3cba5dd + 773504b commit 5bbb859
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Strategy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ namespace Strategy{
layOnGallery(BrasAU,BLUE_ELEMENT);

SetAvoidance(false);
go(1350,290);
go(1330,290);
takeDispenser(BrasAU,SECOND_DISPENSER);
go(1350,275);
go(1330,275);
takeDispenser(BrasInit,SECOND_DISPENSER);
go(1350,260);
go(1330,260);
takeDispenser(BrasTirette,SECOND_DISPENSER);

//takeHorizontalDispenser(BrasAU);
Expand Down Expand Up @@ -247,13 +247,13 @@ namespace Strategy{
// Take an element on the Workshed and push it under
SetAbsolute();
if(statePush == 0){
if(Settings::yellow()) go(230,1545);
if(Settings::yellow()) go(235,1540);
if(Settings::purple()) go(280,1545);
}
else if(statePush == 1){
go(500,1700); //Decalage
if(Settings::yellow()) go(400,1730);
if(Settings::purple()) go(430,1750);
if(Settings::purple()) go(440,1740);
}

if(Settings::yellow()) align(-135, robotArm.GetAngle());
Expand Down

0 comments on commit 5bbb859

Please sign in to comment.