pglira / simpleICP

Implementations of a rather simple version of the Iterative Closest Point algorithm in various languages.
MIT License
299 stars 60 forks source link

Distance without abs #1

Closed dasisttao closed 3 years ago

dasisttao commented 3 years ago

https://github.com/pglira/simpleICP/blob/ba9e71b06bb2db3de8540af07a98c740be71687f/c%2B%2B/src/corrpts.cpp#L47

Hello! Does this line miss the absolute value operation for distance calculation?
Thx!

pglira commented 3 years ago

No, it's the signed (+/-) point-to-plane distance between corresponding points.