Merge pull request #206 from zhkmxx9302013/master

patch the yaw=0 direction while expanding
This commit is contained in:
Atsushi Sakai
2019-06-27 20:33:15 +09:00
committed by GitHub

View File

@@ -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]