Closed sts-thm closed 5 years ago
In the implementation of G2solve3arc::curvatureMinMax(): https://github.com/ebertolazzi/Clothoids/blob/3a8f037bc01e0c53cb13b4b217e1bb8e990a9288/src/ClothoidG2.cc#L766 you compute the minimal and maximal values for theta instead of the extrema of the curvature. I think the right implementation would be to exchange S0.thetaMinMax() with S0.curvatureMinMax() and analogously for S1 and SM in the lines 768, 769 and 772.
S0.thetaMinMax()
S0.curvatureMinMax()
S1
SM
thanks for the reporting, I changed the code removing the error.
In the implementation of G2solve3arc::curvatureMinMax(): https://github.com/ebertolazzi/Clothoids/blob/3a8f037bc01e0c53cb13b4b217e1bb8e990a9288/src/ClothoidG2.cc#L766 you compute the minimal and maximal values for theta instead of the extrema of the curvature. I think the right implementation would be to exchange
S0.thetaMinMax()
withS0.curvatureMinMax()
and analogously forS1
andSM
in the lines 768, 769 and 772.