That seems to have fixed the problem, it runs without segfault and I seem to be getting a continuous stream of video inside of rtabmap
Now... I actually have absolutely no idea what I actually did there, 640x480 is equal to 307200 and the GDB trace told me it was given 66312 but I have no idea if I have to account for bits per pixel in that if-statement
So please have a look, consider how to properly handle this scenario. I wish I could be of more assistance.
Issue Description
As soon as RTAB-Map starts the camera, it would seg fault. I built a debug version of librealsense and GDB told me
similar, if not identical, to issue #2942 , but the patch file provided in that thread is not compatible with the kernel v4.19
cause? probably because the raspberry pi is slow
I've come up with my bandaid solution
That seems to have fixed the problem, it runs without segfault and I seem to be getting a continuous stream of video inside of rtabmap
Now... I actually have absolutely no idea what I actually did there, 640x480 is equal to 307200 and the GDB trace told me it was given 66312 but I have no idea if I have to account for bits per pixel in that if-statement
So please have a look, consider how to properly handle this scenario. I wish I could be of more assistance.