mp3guy/ICPCUDA

Run failed

Opened this issue · 5 comments

Thanks for the code. I've been testing it, so more to come later. But initially, it crashes at this line

ICP.cpp | 170: icpOdom.getIncrementalTransformation(trans, rot, threads, blocks);

The reason that I found was because the member attribute iteration is not well allocated in the icpOdom's constructor. So I changed the line

ICPOdometry.cpp | 33: iterations.reserve(NUM_PYRS);

into

ICPOdometry.cpp | 33: iterations.resize(NUM_PYRS);

and it works fine till now.

Interesting, never had an issue with this on many versions of Ubuntu over the years. What OS are you using?

The same as I did.
windows 10 with vs2013

Does it work on Windows?

It works like a charm =)

@johnzjq can you please suggest how you worked with Eigen. I am facing this problem: Compile Failed (Eigen errors)

I tried with Eigen 3.3 beta 2 and stevenlovegrove/eigen