提交 d756aaf8 编写于 作者: T tomazas

Update dinast_grabber.cpp

Change non-standard logical OR comparison of Pascal type syntax to C.
上级 ad739064
......@@ -342,7 +342,7 @@ pcl::DinastGrabber::getXYZIPointCloud ()
// Get rid of the noise
if(cloud->points[depth_idx].z > 0.8f or cloud->points[depth_idx].z < 0.02f)
if(cloud->points[depth_idx].z > 0.8f || cloud->points[depth_idx].z < 0.02f)
{
cloud->points[depth_idx].x = std::numeric_limits<float>::quiet_NaN ();
cloud->points[depth_idx].y = std::numeric_limits<float>::quiet_NaN ();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册