# Revision history [back]

Hi,

could it be that you are mixing up the PCL pointcloud data type with the one from sensor_msgs? See the definition of sensor_msgs/PointCloud [1] and you see that it is not pcl::PointCloud<pcl::pointxyz>.

[1] [http://docs.ros.org/api/sensor_msgs/html/msg/PointCloud.html](http://docs.ros.org/api/sensor_msgs/html/msg/PointCloud.html)

Hi,

could it be that you are mixing up the PCL pointcloud data type with the one from sensor_msgs? See the definition of sensor_msgs/PointCloud [1] and you see that it is not pcl::PointCloud<pcl::pointxyz>.

[1] [http://docs.ros.org/api/sensor_msgs/html/msg/PointCloud.html](http://docs.ros.org/api/sensor_msgs/html/msg/PointCloud.html)