Merge branch 'main' of https://git.demerso.net/PLS5618/pratique-2025
This commit is contained in:
@ -27,16 +27,12 @@ public class FollowAprilTag extends Command {
|
||||
@Override
|
||||
public void execute() {
|
||||
|
||||
if (lanceur.limitswitch1()){
|
||||
|
||||
}
|
||||
else if(lanceur.limitswitch2()){
|
||||
|
||||
}
|
||||
else if (enlignement.getv()==1)
|
||||
{
|
||||
lanceur.tourelRotation(0,0, enlignement.getx()/30);
|
||||
}
|
||||
|
||||
if (enlignement.getv()==1)
|
||||
{
|
||||
lanceur.tourelRotation(0,0, enlignement.getx()/30);
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
lanceur.tourelRotation(0, 0, 0);
|
||||
|
Reference in New Issue
Block a user