s'enligner avec un apriltag fini

This commit is contained in:
Antoine PerreaultE
2025-11-24 18:36:30 -05:00
parent f0c7508873
commit 1bf8f02db2
2 changed files with 2 additions and 15 deletions

View File

@@ -74,8 +74,8 @@ public class AprilTag3 extends Command {
else if(tagId ==7){
drivetrain.setControl(drive.
withRotationalRate(tx/20).
withVelocityX((2-limelight3.derive(botx))).
withVelocityY(2-limelight3.derive(botz)));
withVelocityX(2-botx).
withVelocityY(2-boty));
}
}
else{