Skip to content

Commit cd0c85b

Browse files
author
Daniel Tobon
committed
removed and for &&
1 parent 173e368 commit cd0c85b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ int main(int argc, char **argv) {
6565
viewer->addText(str, xpos, ypos, fontSize, r, g, b, "text1");
6666

6767
// set cloud color if not defined
68-
if (cloud->points[0].r <= 0 and cloud->points[0].g <= 0 and cloud->points[0].b <= 0) {
68+
if (cloud->points[0].r <= 0 && cloud->points[0].g <= 0 && cloud->points[0].b <= 0) {
6969
pcl::visualization::PointCloudColorHandlerCustom<pcl::PointXYZRGB> color_handler(cloud, 255, 255, 0);
7070
viewer->removeAllPointClouds(0);
7171
viewer->addPointCloud(cloud, color_handler, "POINTCLOUD");

0 commit comments

Comments
 (0)