yanyan-li / PlanarSLAM

A RGB-D SLAM system for structural scenes, which makes use of point-line-plane features and the Manhattan World assumption.
384 stars 85 forks source link

vtkPNGWriter error #10

Open Rothschild-hhu opened 2 years ago

Rothschild-hhu commented 2 years ago

Hello, when I run PlanarSLAM on the freiburg3_structure_texture_far dataset, I am getting the following error:

PlanarSLAM Printer: This is the 1th image ERROR: In /build/vtk6-VHOYAG/vtk6-6.3.0+dfsg1/IO/Image/vtkPNGWriter.cxx, line 260 vtkPNGWriter (0x7f5d80348240): Unable to open file mesh/000000.png ERROR: In /build/vtk6-VHOYAG/vtk6-6.3.0+dfsg1/IO/Image/vtkImageWriter.cxx, line 505 vtkPNGWriter (0x7f5d80348240): Ran out of disk space; deleting file(s) already written Segmentation fault (core dumped)

Compilation is passed. After checking, it seems that it is not the reason for insufficient disk space, because there are more than 10 G free spaces.

The versions of some third-party libraries I use are as follows:

  1. Pangolin = 0.5
  2. OpenCV & OpenCV_Contrib = 3.4.5
  3. Eigen3 = 3.3.7
  4. PCL = 1.8 (coming with ROS Melodic )

Is it caused by the incompatibility of PCL and VTK versions? Whether the version of PCL must be 1.7 or 1.9? Can you give me some advice? or which version are you using?Best regards.

red0orange commented 2 years ago

You can just try creating a new dir "mesh" in your root dir. VTK cannot create a new dir automatically.

Rothschild-hhu commented 2 years ago

Thanks a lot for your answer. After creating the mesh folder in the root directory of the project and running the program, an image is generated in it,000000 but a new error occurs: Segmentation fault (core dumped) It has also appeared in the previous issue #9 , I will upgrade PCL version from 1.8 to 1.9 as suggested.

HHy5222 commented 4 months ago

Thanks a lot for your answer. After creating the mesh folder in the root directory of the project and running the program, an image is generated in it,000000 but a new error occurs: Segmentation fault (core dumped) It has also appeared in the previous issue #9 , I will upgrade PCL version from 1.8 to 1.9 as suggested. 你好 我遇到了和你一样的问题,请问你解决了吗