ros / common_msgs

Commonly used messages in ROS. Includes messages for actions (actionlib_msgs), diagnostics (diagnostic_msgs), geometric primitives (geometry_msgs), robot navigation (nav_msgs), and common sensors (sensor_msgs), such as laser range finders, cameras, point clouds.
http://wiki.ros.org/common_msgs
179 stars 191 forks source link

Create_cloud does not respect point cloud organization #126

Open haudren opened 6 years ago

haudren commented 6 years ago

I was playing around with a PCL application that needs an organized point cloud as input. However, using do_transform_point_cloud (from tf2_sensor_msgs) returns an unorganized point cloud.

After a quick investigation. it seems like create_cloud always returns a 1 by n cloud, but I'm not sure if it would be enough to simply pass in width / height arguments or if the point packing must be adapted.

Hi-Zed commented 4 years ago

I created a pull request ( #157) to fix this.