ankur6ue / gsoc2011sfm

Automatically exported from code.google.com/p/gsoc2011sfm
0 stars 0 forks source link

Tutorial #9 Option 1 Seg Fault #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run Tutorial #9 and select option 1

What is the expected output? What do you see instead?
It should load data and then show a 3D point cloud with camera positions. 
Instead it seg faults.

Please use labels and text to provide additional information.
The line causing the seg fault is in src/Visualizer.cpp:

pcl::io::saveVTKFile ( ((std::string)"test")+name+((std::string)".vtk"), 
triangles );

Was this just in there for testing purposes? When commented out the tutorial 
runs fine, and the tutorial doesn't imply that it will write out any data 
anyway. As always, just give me the go ahead if you want me to commit.

Original issue reported on code.google.com by stephen....@gmail.com on 19 Aug 2011 at 5:06

GoogleCodeExporter commented 9 years ago
Indeed, this was for debug only... But the saveVTKFile seems to have some 
problems to save point mesh... If time, I will dig this. For now, just comment 
this line, so I close this issue.

Original comment by thibault...@gmail.com on 19 Aug 2011 at 11:56

GoogleCodeExporter commented 9 years ago
Of course, I forget to set Status... It's done now ;)

Original comment by thibault...@gmail.com on 19 Aug 2011 at 11:57