This commit is contained in:
Antoine PerreaultE
2025-11-24 17:36:10 -05:00
2 changed files with 17 additions and 2 deletions

View File

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