srv / viso2

A ROS wrapper for libviso2, a library for visual odometry
http://ros.org/wiki/viso2
241 stars 179 forks source link

Adding a work-around for a Segmentation Fault that I was encountering. #77

Closed P3TE closed 1 day ago

P3TE commented 3 years ago

It seems that it was possible for the divconqrecurse to be given a vertex array with 1 or 0 verticies. This would cause an infinite loop causing the crash. I believe that there's already a ticket for this issue: https://github.com/srv/viso2/issues/63 Additionally, adding a minor fix to the CMakeLists.txt to allow 'cmake .' to run.

bomiquel commented 1 day ago

Thanks!