mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-01-13 22:38:09 -05:00
Merge pull request #206 from zhkmxx9302013/master
patch the yaw=0 direction while expanding
This commit is contained in:
@@ -131,7 +131,7 @@ class Config:
|
||||
|
||||
def calc_motion_inputs():
|
||||
|
||||
for steer in np.linspace(-MAX_STEER, MAX_STEER, N_STEER):
|
||||
for steer in np.concatenate((np.linspace(-MAX_STEER, MAX_STEER, N_STEER),[0.0])):
|
||||
for d in [1, -1]:
|
||||
yield [steer, d]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user