We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
src/pointcloud_preprocess.cc文件的第62行处:
if ((abs(cloud_full_[i].x - cloud_full_[i - 1].x) > 1e-7) || (abs(cloud_full_[i].y - cloud_full_[i - 1].y) > 1e-7) || (abs(cloud_full_[i].z - cloud_full_[i - 1].z) > 1e-7) && (cloud_full_[i].x * cloud_full_[i].x + cloud_full_[i].y * cloud_full_[i].y + cloud_full_[i].z * cloud_full_[i].z > (blind_ * blind_))) { is_valid_pt[i] = true; }
if语句的前三个条件缺少一个括号,导致第四个条件(blind)不起作用,正确的应为:
if (((abs(cloud_full_[i].x - cloud_full_[i - 1].x) > 1e-7) || (abs(cloud_full_[i].y - cloud_full_[i - 1].y) > 1e-7) || (abs(cloud_full_[i].z - cloud_full_[i - 1].z) > 1e-7)) && (cloud_full_[i].x * cloud_full_[i].x + cloud_full_[i].y * cloud_full_[i].y + cloud_full_[i].z * cloud_full_[i].z > (blind_ * blind_))) { is_valid_pt[i] = true; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
src/pointcloud_preprocess.cc文件的第62行处:
if语句的前三个条件缺少一个括号,导致第四个条件(blind)不起作用,正确的应为:
The text was updated successfully, but these errors were encountered: