tesseract_planning icon indicating copy to clipboard operation
tesseract_planning copied to clipboard

Fix issue with tolerance size

Open rjoomen opened this issue 2 months ago • 2 comments

With the new toleranced waypoints, the tolerance variable type was introduced as a fixed Matrix (effectively Vector6d), always requiring 6 values. Here and here, however, a resize was still attempted, leading to silent errors, except for debug builds, where Eigen asserted an error.

This PR changes the types to a VectorXd, bringing the behavior in line with the coefs, allowing either 1 or 6 values, and fixing the resize() assert.

rjoomen avatar Dec 02 '24 06:12 rjoomen