Skip to content

Commit a517f97

Browse files
authored
Merge pull request AtsushiSakai#206 from zhkmxx9302013/master
patch the yaw=0 direction while expanding
2 parents 7f3031d + 02c197d commit a517f97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PathPlanning/HybridAStar/hybrid_a_star.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def __init__(self, ox, oy, xyreso, yawreso):
131131

132132
def calc_motion_inputs():
133133

134-
for steer in np.linspace(-MAX_STEER, MAX_STEER, N_STEER):
134+
for steer in np.concatenate((np.linspace(-MAX_STEER, MAX_STEER, N_STEER),[0.0])):
135135
for d in [1, -1]:
136136
yield [steer, d]
137137

0 commit comments

Comments
 (0)