ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

pointcloud2 data

asked 2011-08-12 05:09:11 -0500

ros_beginner gravatar image

Hello,

I'm currently using kinect to receive image message and pointcloud2 message and make a depth and image with message information.

Then,I want to do some classification and label each pointcloud data and send back as ros message.

when I send back this pointcloud data that has label for each point as message.

How should I have this label information??

Thank you

Min

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-09-02 12:18:11 -0500

Helen gravatar image

One possible solution is to add a new field to the pcl::PointCloud datatype (that is, create a custom point type in PCL). There is a tutorial on how to do this on the PCL website: http://pointclouds.org/documentation/tutorials/adding_custom_ptype.php

Then, you would simply publish this new pointcloud with an additional custom label field.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-08-12 05:09:11 -0500

Seen: 1,071 times

Last updated: Sep 02 '11