WoodOxen / tactics2d

Tactics2D: A Reinforcement Learning Environment Library with Generative Scenarios for Driving Decision-making
https://tactics2d.readthedocs.io/en/latest/
GNU General Public License v3.0
150 stars 19 forks source link

Bug: inconsistence in interpolation point counts #96

Closed jiamiya closed 3 months ago

jiamiya commented 4 months ago

In some cases, the RS curve interpolation may throw an error in https://github.com/WoodOxen/tactics2d/blob/ddd9e1266838ed91ec5e32910cc92dfc6efce440/tactics2d/math/interpolate/reeds_shepp.py#L88 indicating that the interpolation is invalid, leading to the failure of waypoint generation.