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
Not sure if this code ever updates the point cloud as it returns inside the wait.
void OpenNI2CloudDataSource::update() { { std::unique_lock<std::mutex> lk(mutex_updated_); updated_cond_.wait(lk, [this] { #ifdef USE_NITE2 return updated_color_image_ && updated_user_image_; #else return updated_color_image_ && updated_depth_image_; #endif }); #ifdef USE_NITE2 updated_color_image_ = updated_user_image_ = false; #else updated_color_image_ = updated_depth_image_ = false; #endif } updatePointCloud(util::now()); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Not sure if this code ever updates the point cloud as it returns inside the wait.
The text was updated successfully, but these errors were encountered: