python-pcl icon indicating copy to clipboard operation
python-pcl copied to clipboard

pcl.save unknown file format when the file format is correct

Open bantmen opened this issue 9 years ago • 2 comments

https://github.com/strawlab/python-pcl/blob/97f5f1737dcd4a612e6a6905750601952209b633/pcl/init.py#L32

The implicit assumption that is being made is that the lack of attribute implies that the format is unknown. However, the same error is thrown if the file format is correct but the user is trying to directly save a numpy array.

Example:

pcl.save(np.array([1]), 'correct_format.pcd')

bantmen avatar May 03 '16 04:05 bantmen

Hi @cberkay, have you been able to resolve this issue? I am facing the same problem

triple-tam avatar Jan 27 '19 23:01 triple-tam

same here :( so @bantmen did you find a solution? If yes can you share it please?

ghanim-mukhtar avatar Jan 05 '23 16:01 ghanim-mukhtar