传入了所有场地坐标参数 上层操作手可控制底盘瞄准 传球待测试

This commit is contained in:
OnDYCLaptop
2026-03-05 12:39:53 +08:00
parent 042d483b16
commit 6d996a35cd
3 changed files with 13 additions and 11 deletions
@@ -52,9 +52,6 @@ public class ShooterControls {
if(shooterSubsystem.flywheelMotorLeft.getVelocity().getValueAsDouble()<flywheelSpeed*0.7){
conveyorSpeed = 0;
}
// flywheelSpeed = calculateFlywheelSpeedOnlywithOffset(60);
// double flywheelSpeed = calculateFlywheelSpeed(0);
// double BackboardPosition = calculateBackboardPosition(0);
shooterControlTable.getEntry("flywheelTargetSpeed").setDouble(flywheelSpeed);
shooterControlTable.getEntry("conveyerTargetSpeed").setDouble(conveyorSpeed);
shooterControlTable.getEntry("backboardTargetPosition").setDouble(backboardPosition);