We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 173e368 commit cd0c85bCopy full SHA for cd0c85b
src/main.cpp
@@ -65,7 +65,7 @@ int main(int argc, char **argv) {
65
viewer->addText(str, xpos, ypos, fontSize, r, g, b, "text1");
66
67
// 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) {
+ if (cloud->points[0].r <= 0 && cloud->points[0].g <= 0 && cloud->points[0].b <= 0) {
69
pcl::visualization::PointCloudColorHandlerCustom<pcl::PointXYZRGB> color_handler(cloud, 255, 255, 0);
70
viewer->removeAllPointClouds(0);
71
viewer->addPointCloud(cloud, color_handler, "POINTCLOUD");
0 commit comments