introlab / rtabmap

RTAB-Map library and standalone application
https://introlab.github.io/rtabmap
Other
2.6k stars 761 forks source link

Export silently crashes while writing the OBJ (windows 0.21.4 and 0.21.0 binaries) #1296

Open matlabbe opened 3 weeks ago

matlabbe commented 3 weeks ago

It seems that the CLI is not done yet or crashed while writing the OBJ. The last log message should be:

Saved obj to C:\Users\centr\Documents\RTAB-Map CLI/new_mesh.obj!

We can see in the OBJ file that is was interrupted writing the last line:

vt 0.61655 0.88921
vt 0.61929 0.88837
vt 0.61884 0.89103
vt 0.61673 0.8

so the faces were not written yet, and even the MTL is missing (probably written after OBJ).

With 0.21.0 with old dependencies it works. There is maybe something with latest PCL versions on Windows (VCPKG package).

Originally posted by @matlabbe in https://github.com/introlab/rtabmap/issues/918#issuecomment-2132539192