apollo icon indicating copy to clipboard operation
apollo copied to clipboard

velodyne_uitility

Open RobotBramhana opened this issue 8 years ago • 3 comments

if (pt3d[0] == pt3d[0] && pt3d[1] == pt3d[1] && pt3d[2] == pt3d[2])

What is the significance of the above condition in velodyne_utility.cc at line 53?

RobotBramhana avatar Jul 09 '18 07:07 RobotBramhana

Ii seems a defect for it is always true. Perhaps just for debugging. Please let me know if I am not right

muleisheng avatar Jul 09 '18 13:07 muleisheng

I guess this line is used to check NaN. For a float or double f, f != f will be true only if f is NaN.

zhouyao4321 avatar Jul 19 '18 03:07 zhouyao4321

Closing this issue as it appears to be resolved. Thanks!

natashadsouza avatar Sep 05 '18 22:09 natashadsouza