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

[jsk_pcl_ros/cluster_point_indices] Enable use_pca in case of align_boxes is false #2462

Merged

Conversation

iory
Copy link
Member

@iory iory commented Oct 31, 2019

This PR enables use_pca in case of align_boxes is false.
With this PR, we can get the axis of tilted objects and set pose with respect to PCA result to centroid(type: geometry_msgs::Pose).

The video is as follows:
use_pca is True
https://drive.google.com/open?id=1UPkxki_pRJ8IEbOwr2cKEbnuP8m52V2A

use_pca is False
https://drive.google.com/open?id=1r3VcoJCHt3NOsyr7Sasy5Wxkvq_SNOAR

@iory iory requested a review from YutoUchimi October 31, 2019 14:21
@taichiH
Copy link

taichiH commented Oct 31, 2019

here is a result image.

pca_result

@k-okada
Copy link
Member

k-okada commented Oct 31, 2019

thank you , please update document

@iory iory changed the title [jsk_pcl_ros/cluster_point_indices] Enable use_pca in case of align_boxes is false [WIP] [jsk_pcl_ros/cluster_point_indices] Enable use_pca in case of align_boxes is false Nov 1, 2019
@iory iory force-pushed the cluster-point-indices-decomposer-use-pca branch from f7373c1 to 483f380 Compare November 1, 2019 02:49
@iory iory force-pushed the cluster-point-indices-decomposer-use-pca branch from 483f380 to 27f87ea Compare November 1, 2019 03:57
@iory iory changed the title [WIP] [jsk_pcl_ros/cluster_point_indices] Enable use_pca in case of align_boxes is false [jsk_pcl_ros/cluster_point_indices] Enable use_pca in case of align_boxes is false Nov 1, 2019
@iory
Copy link
Member Author

iory commented Nov 1, 2019

Thanks for your review!
I fixed code, so please check it.

Copy link
Contributor

@YutoUchimi YutoUchimi left a comment

Choose a reason for hiding this comment

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

LGTM!

@k-okada k-okada added this to the 1.2.11 milestone Nov 5, 2019
@pazeshun pazeshun force-pushed the cluster-point-indices-decomposer-use-pca branch from 822e255 to b812d3a Compare November 10, 2019 09:35
@taichiH
Copy link

taichiH commented Nov 16, 2019

I added axes fixture to avoid random flip around x and y-axis.
please refer to iory#12

@iory
Copy link
Member Author

iory commented Nov 20, 2019

I added a comment. Waiting for a @taichiH 's response.

@taichiH
Copy link

taichiH commented Nov 20, 2019

@iory please skip my PR.

@ykawamura96
Copy link

I used this node with use_pca: true, align_boxes: false, align_boxes_with_plane: false, and it's working !!

image

@knorth55
Copy link
Member

@k-okada can you check and merge this?

@k-okada k-okada merged commit a06cc01 into jsk-ros-pkg:master Sep 3, 2020
@iory iory deleted the cluster-point-indices-decomposer-use-pca branch April 10, 2022 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants