Suppress PLYReader warnings

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Suppress PLYReader warnings

Casper
I need to read in several (~500) .ply files from a directory.  The files will be loaded one at a time and each point cloud's data discarded after use.  Because I do not use all the information stored in each .ply file, the pcl::PLYReader gives me warnings:

[pcl::PLYReader] .../cloud.ply:12: property 'uint8 alpha' of element 'vertex' is not handled

I get hundreds of these warnings and they completely flood the console window I am running my application from.  This is very undesirable, as it means I have to scroll through all these warnings to find the actual output that my application produces.

Is there any way that I can suppress these warnings?

Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: Suppress PLYReader warnings

Radu B. Rusu
Administrator
Please submit a feature request and assign it to Nizar if possible. Right now the way to only way to suppress them is to
redirect output in a file. We had discussions in the past whether a library should ever be verbose regarding error
messages, but we didn't reach a consensus.

Cheers,
Radu.
--
http://openperception.org

On 06/10/2013 11:28 PM, Casper wrote:

> I need to read in several (~500) .ply files from a directory.  The files will
> be loaded one at a time and each point cloud's data discarded after use.
> Because I do not use all the information stored in each .ply file, the
> pcl::PLYReader gives me warnings:
>
> [pcl::PLYReader] .../cloud.ply:12: property 'uint8 alpha' of element
> 'vertex' is not handled
>
> I get hundreds of these warnings and they completely flood the console
> window I am running my application from.  This is very undesirable, as it
> means I have to scroll through all these warnings to find the actual output
> that my application produces.
>
> Is there any way that I can suppress these warnings?
>
> Thanks!
>
>
>
>
> --
> View this message in context: http://www.pcl-users.org/Suppress-PLYReader-warnings-tp4028189.html
> Sent from the Point Cloud Library (PCL) Users mailing list mailing list archive at Nabble.com.
> _______________________________________________
> [hidden email] / http://pointclouds.org
> http://pointclouds.org/mailman/listinfo/pcl-users
>
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Suppress PLYReader warnings

Casper
Thank you, Radu.  I have done as you asked and submitted a feature request assigned to Nizar.  Here is the link to the feature request:
http://dev.pointclouds.org/issues/1004
Reply | Threaded
Open this post in threaded view
|

Re: Suppress PLYReader warnings

Radu B. Rusu
Administrator
Thanks!

Cheers,
Radu.
--
http://openperception.org

On 06/11/2013 10:39 PM, Casper wrote:

> Thank you, Radu.  I have done as you asked and submitted a feature request
> assigned to Nizar.  Here is the link to the feature request:
> http://dev.pointclouds.org/issues/1004
> <http://dev.pointclouds.org/issues/1004>
>
>
>
> --
> View this message in context: http://www.pcl-users.org/Suppress-PLYReader-warnings-tp4028189p4028210.html
> Sent from the Point Cloud Library (PCL) Users mailing list mailing list archive at Nabble.com.
> _______________________________________________
> [hidden email] / http://pointclouds.org
> http://pointclouds.org/mailman/listinfo/pcl-users
>
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users