tum-vision / lsd_slam

LSD-SLAM
GNU General Public License v3.0
2.58k stars 1.23k forks source link

Getting malloc():memory corruption error while running live_slam #298

Closed kungfrank closed 6 years ago

kungfrank commented 6 years ago

Hi! I have Ubuntu 14.04 and ROS indigo. I get memory corruption error while running live_slam on ardrone. rosrun lsd_slam_core live_slam image:=/ardrone/image_raw camera_info:=/ardrone/camera_info

And then I get error as follow

malloc(): memory corruption: 0x0000000001b163c0 ***Aborted (core dumped)

Anyone face same problem? Or figure out how to fix this error ?

thanks for help.

qoopen0815 commented 6 years ago

I'm facing the same bugs.

you already fixed it ?

kungfrank commented 6 years ago

Hi, I fixed it by change my camera pixel to multiple of 16 EX: 640x480 . Hope this help you.

vyi commented 6 years ago

This thread gives a solution. Basically we can modify the resolution settings inside "video.h" include file inside ardrone_autonomy directory.

kungfrank commented 6 years ago

@vyi Yes, you are right. Recently, I had finish the ARDrone indoor navigation project used LSD_SLAM and TUM_ARDrone. There are more information(tutorial) at the follow link. https://github.com/Hypha-ROS/hypharos_ardrone_navigation