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] ClusterPointIndicesDecomposer does not publish clouds #1187

Closed
wkentaro opened this issue Oct 2, 2015 · 10 comments
Closed

[jsk_pcl_ros] ClusterPointIndicesDecomposer does not publish clouds #1187

wkentaro opened this issue Oct 2, 2015 · 10 comments

Comments

@wkentaro
Copy link
Member

wkentaro commented Oct 2, 2015

image

I used the launch file in jsk_pcl_ros/launch.
but actually there is no clouds.

The launch file I used was below (edited some lines):
https://github.com/wkentaro/jsk_recognition/blob/cluster-pi-trial/jsk_pcl_ros/launch/euclidean_segmentation.launch

@garaemon
Copy link
Member

garaemon commented Oct 2, 2015

try ClusterPointIndicesDecomposer instead of ClusterPointIndicesDecomposerZAxis

@wkentaro
Copy link
Member Author

wkentaro commented Oct 2, 2015

I also tried it, but seems not publish clouds.
and It seems that the feature is not used recently. (searched under jsk_demos)

@garaemon
Copy link
Member

garaemon commented Oct 2, 2015

check timestamp of inputs of cluster decomposer

@garaemon
Copy link
Member

garaemon commented Oct 2, 2015

/pcl_nodelet/voxelgrid/output and /pcl_nodelet/clustering/output

@wkentaro
Copy link
Member Author

wkentaro commented Oct 2, 2015

I found the reason, ClusterPointIndices does not prepare publications before subscribing cluster_point_indices because number of clusters is unknown.
That is the reason why there is no clouds topics in rostopic list because ConnectedBasedNodelet does not subscribe topics until subscribed.

@wkentaro
Copy link
Member Author

wkentaro commented Oct 2, 2015

I can see clouds after subscribing one of the topics.

@garaemon
Copy link
Member

garaemon commented Oct 2, 2015

I see, tricky. Please use debug_output (http://jsk-recognition.readthedocs.org/en/latest/jsk_pcl_ros/nodes/cluster_point_indices_decomposer.html#publishing-topics)

I don't recommend to use ~output%02d topics

@wkentaro
Copy link
Member Author

wkentaro commented Oct 2, 2015

BTW, are there simple command line tool to apply point indices to point
cloud?

I'd like to use it when viewing on rviz.

2015年10月3日土曜日、Ryohei Uedanotifications@github.comさんは書きました:

I see, tricky. Please use debug_output (
http://jsk-recognition.readthedocs.org/en/latest/jsk_pcl_ros/nodes/cluster_point_indices_decomposer.html#publishing-topics
)

I don't recomment to use ~output%02d topics


Reply to this email directly or view it on GitHub
#1187 (comment)
.

和田 健太郎 / Kentaro Wada
http://wkentaro.com

@garaemon
Copy link
Member

garaemon commented Oct 2, 2015

pcl_msgs/PointIndices? You can use pcl/ExtractIndices

@wkentaro
Copy link
Member Author

wkentaro commented Oct 2, 2015

Not for writing code but command line tool.
Like:

rosrun jsk_pcl_ros pointindices_to_pointcloud ~input:=/kinect2/qhd/points
~target:=/pointcloudindices

2015年10月3日土曜日、Ryohei Uedanotifications@github.comさんは書きました:

pcl_msgs/PointIndices? You can use pcl/ExtractIndices


Reply to this email directly or view it on GitHub
#1187 (comment)
.

和田 健太郎 / Kentaro Wada
http://wkentaro.com

wkentaro added a commit to wkentaro/jsk_recognition that referenced this issue Oct 2, 2015
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

No branches or pull requests

2 participants