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

Message with array of point clouds

asked 2020-05-28 07:07:38 -0600

czr gravatar image

Hi,

I am using RTABMAP to map the environment and separate the ground plane form the obstacles. Now, I want to segment the obstacles in different objects, I found that PCL has such functionality. The problem is that my code is in python and I couldn't get the PCL python biding to work.

So, I thought of creating a C++ node just to segment the objects, but, for each point cloud received by the node, it would have to return multiple separated point clouds. How would be the best way to handle it? Is it possible to create a message that has a variable length list of point clouds?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-06-02 10:46:21 -0600

matlabbe gravatar image

Follow this tutorial to create a new custom message that could look like this:

Header header
sensor_msgs/PointCloud2[] clouds
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-05-28 07:07:38 -0600

Seen: 588 times

Last updated: Jun 02 '20