danini/graph-cut-ransac

run example aborted

Opened this issue · 1 comments

Hello:
I build and test project in UBUNTU1804,and build is OK.But when I try to run example "SampleProject",a exception raise,running info as below:

2D line fitting

Processed scene = 'adam'
Neighborhood calculation time = 0.000190 secs
terminate called after throwing an instance of 'std::out_of_range'
what(): _Map_base::at
Aborted (core dumped)

  Is there something wrong with my running enviroment or something else?
  Hope for your reply

Regards

Hey!

If you change the main_sampler to PROSAC or Uniform sampling, it will work.
I do not know yet what is the problem the P-NAPSAC since it was working earlier. I will debug it.
Before that you can use both PROSAC and Uniform sampling, probably, Uniform since there is not much information for sorting the points for PROSAC.