mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-01-13 21:48:06 -05:00
address the comment
This commit is contained in:
@@ -77,9 +77,9 @@ def motion(x, u, dt):
|
||||
motion model
|
||||
"""
|
||||
|
||||
x[2] += u[1] * dt
|
||||
x[0] += u[0] * math.cos(x[2]) * dt
|
||||
x[1] += u[0] * math.sin(x[2]) * dt
|
||||
x[2] += u[1] * dt
|
||||
x[3] = u[0]
|
||||
x[4] = u[1]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user