mp3guy / ICPCUDA

Super fast implementation of ICP in CUDA for compute capable devices 3.5 or higher
BSD 3-Clause "New" or "Revised" License
690 stars 179 forks source link

Run failed #2

Open lhoangan opened 9 years ago

lhoangan commented 9 years ago

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.

mp3guy commented 9 years ago

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

johnzjq commented 8 years ago

The same as I did. windows 10 with vs2013

mp3guy commented 8 years ago

Does it work on Windows?

johnzjq commented 8 years ago

It works like a charm =)

syedharoonalam commented 8 years ago

@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