fix: Исправлен oncomming идеальной траектории
This commit is contained in:
parent
9faa35f514
commit
292958fa2b
@ -176,7 +176,7 @@ class OptTimeCalculator(AutoConfigClass):
|
||||
t5max = (Tfull - v0 / a) / 2 - t1
|
||||
v1 = v0 + a * t1
|
||||
S1 = v0 * t1 + a * t1 * t1 / 2 + v1 * t31 - a * t31 * t31 / 2
|
||||
S2max = Sfull + S1
|
||||
S2max = -Sfull + S1
|
||||
t5 = min(t5max, (vmax) / a, sqrt(S2max / a))
|
||||
t3 = abs(v0) / a + t1 + t5
|
||||
t32 = t5
|
||||
|
||||
Loading…
Reference in New Issue
Block a user