xaldyz / dataflow-orbslam

Real-Time SLAM for Monocular, Stereo and RGB-D Cameras, with Loop Detection and Relocalization Capabilities
Other
94 stars 12 forks source link

Segmentation fault #1

Closed Imel23 closed 4 years ago

Imel23 commented 4 years ago

Hello,

I tried to run this code on a Jetson AGX Xavier, but i get this error:

Thread 1 "mono_kitti" received signal SIGSEGV, Segmentation fault. __memcpy_generic () at ../sysdeps/aarch64/multiarch/../memcpy.S:174 174 ../sysdeps/aarch64/multiarch/../memcpy.S: No such file or directory.

Could you please help me, thank you in advance.

xaldyz commented 4 years ago

Hello, we ran the code without any issue on our Xavier, but I think I know where the problem could be. Usually the segfault could be caused by the following missing lines in the configuration file, an example is located here (actually, the config was wrong, so I updated it).

Camera.width: 1226 Camera.height: 370

where of course the two numbers represent width and height of the image.

Let me know if the insertion of these lines fixes your problem! If not, please send the configuration of the compilation flags along with the sequence you are using

xaldyz commented 4 years ago

I assume the problem is fixed by the tip. Feel free to re-open the issue if any help is needed (in case of SEGFAULT)