mirror of
https://github.com/zhm-real/PathPlanning.git
synced 2026-08-29 16:40:46 +08:00
LPA*
This commit is contained in:
@@ -40,9 +40,9 @@ def sampleFree(initparams):
|
||||
if isinside(initparams, x):
|
||||
return sampleFree(initparams)
|
||||
else:
|
||||
#if i < 0.05:
|
||||
# return initparams.env.goal+0.01
|
||||
#else: return np.array(x)
|
||||
if i < 0.05:
|
||||
return initparams.env.goal+0.01
|
||||
else: return np.array(x)
|
||||
return np.array(x)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user