mirror of
https://gitee.com/dlmu-cone/half-steering-basic-framework
synced 2026-10-24 01:52:20 +08:00
方案——赛场_1.1
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user