frenet icon indicating copy to clipboard operation
frenet copied to clipboard

error in calculating curvature?

Open JinlongLi2016 opened this issue 4 years ago • 1 comments

https://github.com/fjp/frenet/blob/a7e8dd5c2252cfec7f22e3cd61ec8bc282528049/python/src/cubic_spline_planner.py#L167

It seems that the divisor should be $(x'**2 + y'**2)^{3/2}$?

JinlongLi2016 avatar Nov 18 '21 06:11 JinlongLi2016

You are correct, thanks for spotting this error. Feel free to open a PR to fix this mistake.

fjp avatar Nov 18 '21 20:11 fjp