打表完成

This commit is contained in:
OnDYCLaptop
2026-02-23 18:04:01 +08:00
parent da6e3d4a5a
commit b347e93078
4 changed files with 76 additions and 74 deletions
@@ -164,7 +164,7 @@ public class ShooterSubsystem extends SubsystemBase {
shooterNetworkTable.getEntry("InalyzeBackboardMode").setString(currentBackboardInalyzeMode.name());
}
private double getDistance(){
public double getDistance(){
//获得车子距离Hub的距离
return NetworkTableInstance.getDefault().getTable("AutoControl").getEntry("distanceToHub").getDouble(0.0);
}