方案——赛场_1.1

This commit is contained in:
guoxy06
2026-04-03 03:22:10 +08:00
parent 2782942158
commit a6742dc48b
4 changed files with 55 additions and 10 deletions

View File

@@ -235,7 +235,7 @@ static void MinmizeRotation(float *angle, const float *last_angle, float *speed)
while (norm_rotation < -180.0f) {
norm_rotation += 360.0f;
}
float threshold = 110.0f;
float threshold = 90.0f;
float target_single=fmodf(target_angle,360.0f);
if(target_single<0.0f) target_single+=360.0f;