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

Fix Disappearing cloud from Selection #814

Merged
merged 1 commit into from
Aug 12, 2014

Conversation

frankpablo
Copy link
Contributor

The new cloud from selection is created with the pose information of
the original cloud. If more than one original clouds are selected,
the pose of the first one is used.

@taketwo
Copy link
Member

taketwo commented Jul 29, 2014

@jpapon Could you please have a look?
@frankpablo Please do not use CAPS LOCK in commit messages and pull request titles.

@frankpablo frankpablo changed the title FIX DISAPPEARING CLOUD FROM SELECTION Fix Disappearing cloud from Selection Jul 29, 2014
@VictorLamoine
Copy link
Contributor

The issue was discussed here.

@jpapon
Copy link
Contributor

jpapon commented Aug 11, 2014

This looks good to me - simple fix to the problem.

@@ -72,8 +76,12 @@ pcl::cloud_composer::MergeSelection::performAction (ConstItemList input_data, Po
filter.filter (*selected_points);

qDebug () << "Original minus indices is "<<original_minus_indices->width;
Eigen::Vector4f source_origin = input_cloud_item->data (ItemDataRole::ORIGIN).value<Eigen::Vector4f> ();
Eigen::Quaternionf source_orientation = input_cloud_item->data (ItemDataRole::ORIENTATION).value<Eigen::Quaternionf> ();
if(!pose_found)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a space here.

@taketwo
Copy link
Member

taketwo commented Aug 11, 2014

@frankpablo Could you please fix a couple of minor things so that we can merge your patch?

@frankpablo
Copy link
Contributor Author

OK, that should do it.

@taketwo
Copy link
Member

taketwo commented Aug 12, 2014

I am afraid space is still missing in if(!pose_found). Also could you please squash the commits so we get a clean history? Thanks!

@frankpablo
Copy link
Contributor Author

Sorry, quite new to this, I'm following the squash instructions but the "git rebase -i master" command is not displaying the list of commits to squash. What am I doing wrong?

@jpapon
Copy link
Contributor

jpapon commented Aug 12, 2014

Did you checkout your feature branch?

The new cloud from selection is created with the pose information of
the original cloud. If more than one original clouds are selected,
the pose of the first one is used.

minor style corrections

style correction
@taketwo
Copy link
Member

taketwo commented Aug 12, 2014

Great!

taketwo added a commit that referenced this pull request Aug 12, 2014
Fix Disappearing cloud from Selection
@taketwo taketwo merged commit ef91e11 into PointCloudLibrary:master Aug 12, 2014
@frankpablo
Copy link
Contributor Author

I thought I had. I repeated it and it worked this time.

@frankpablo frankpablo deleted the cloud-composer-fix branch August 12, 2014 14:34
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.

4 participants