koide3/interactive_slam

Clicking loop end before loop begin makes the program crash

Cheng-Hsiung opened this issue · 2 comments

When running manual loop closing, if loop end is (mis)clicked before loop begin was set, the program will crash with segmentation fault. The same error happens for plane-based correction: click loop end without loop begin -> sub window still appears -> click "add edge" then crashes.

error message: [1] 6819 segmentation fault (core dumped) rosrun interactive_slam interactive_slam

I just merged your PR. Thanks for your contribution 👍

Glad it works, thanks.