I receive the following message when I try to run cloud_viewer;
Failed to find a field named: 'rgba'. Cannot convert message to PCL type.
terminate called after throwing an instance of 'pcl::InvalidConversionException'
what(): Failed to find a field named: 'rgba'. Cannot convert message to PCL type.
I try to change field name from rgb to rgba but this time I see this error;
so it was not working since the original tutorial .cpp was searching for 'rgba'.
I changed "pcl::PointCloud<pcl::PointXYZRGBA>::Ptr cloud (new pcl::PointCloud<pcl::PointXYZRGBA>);" to "pcl::PointCloud<pcl::PointXYZRGB>::Ptr cloud (new pcl::PointCloud<pcl::PointXYZRGB>);" and erase both 'viewerOneOff' and viewerPyscho' since I only wanted to view my point cloud.
I am very new to programming so I hope this makes sense.
On Wed, Jul 25, 2012 at 2:43 PM, Sergey [via Point Cloud Library (PCL) Users] <[hidden email]> wrote:
Do you mean that the original tutorial does not work in some cases? You may consider sharing the change that you made with the community, if could help someone to avoid the same problem in future.
If you reply to this email, your message will be added to the discussion below: