This commit is contained in:
xyy
2026-05-26 15:08:56 +08:00
parent 7e382a786d
commit 88f24a75aa

View File

@@ -465,8 +465,10 @@ namespace 头罩视野.Views
// 边界角度(用于面积积分)和下方视野都使用亮灯比例 * 90°
double boundaryDeg = (double)bottomLampCount / 81 * 90.0;
double bottom = boundaryDeg; // 下方视野与边界角度一致,但最大值取所有角度中的最大
bottom = boundaryDeg * 1.111; // 放大10%
if (bottom > 90) bottom = 90;
bottom = boundaryDeg * 1.25; // 放大10%
if (bottom > 80) bottom = 75;
//else if (bottom > 60) bottom = 75;
else if (bottom < 50) bottom = 50;
System.Diagnostics.Debug.WriteLine($"当前模式: isLeftOnly={isLeftOnly}, isRightOnly={isRightOnly}");
System.Diagnostics.Debug.WriteLine($"下爪亮灯数: {bottomLampCount}/81, 边界角度: {boundaryDeg:F2}°");