moveit / geometric_shapes

Representation of geometric shapes
57 stars 92 forks source link

Fix usage of oriented bounding box in test #231

Closed peci1 closed 1 year ago

peci1 commented 1 year ago

OBB constructor does not initialize the orientation matrix to identity, so it is invalid (all zeros) in the default-constructed OBB object.

"Unfortunately", the test did miraculously work even with the uninitialized OBB. This PR fixes the wrong usage.