Skip to content
New issue

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

Fixed assignment operators for SacModelCone and SacModelCylinder. #1299

Merged
merged 1 commit into from
Aug 19, 2015

Conversation

stefanbuettner
Copy link
Contributor

Consider the following code:

// all the other fields of anotherSacCylinderPtr are set appropriately
anotheSacCylinderPtr->setInputNormals(someCloudContainingNormals);
typedef pcl::SampleConsensusModelCylinder<pcl::PointXYZ, pcl::Normal> SacCylinder;
SacCylinder::Ptr b(new SacCylinder);
*b = *anotherSacCylinderPtr;

then using b just like that in a SacMethod yields the error that no input point cloud having normal information was given.
Same goes for the cone model.

Cheers,
Stefan

taketwo added a commit that referenced this pull request Aug 19, 2015
Fixed assignment operators for SacModelCone and SacModelCylinder.
@taketwo taketwo merged commit e8a8880 into PointCloudLibrary:master Aug 19, 2015
@taketwo
Copy link
Member

taketwo commented Aug 19, 2015

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants