Robotics StackExchange | Archived questions

stereo_image_proc tutorial segmentation fault

Hello all,

I am using Ros Melodic on Ubuntu 18.04.6 LTS (Bionic Beaver)

I am trying to learn how to use the stereoimageproc by going through the associated tutorial which is in this link: http://wiki.ros.org/stereo_image_proc/Tutorials/ChoosingGoodStereoParameters

I am able to exactly follow the tutorial guide until 2. "Start the stereo processing node" at the command:

ROSNAMESPACE=narrowstereotextured rosrun stereoimageproc stereoimage_proc

At this point I get the error "Segmentation fault (core dumped)".

I understand that this error means that somewhere a script is trying to access memory that is it not suppose to.

What I have done: Through google searching I have found that uninstalling and installing open cv through the Ubuntu install is recommenced. I used the command "sudo apt-get install libopencv-dev" to do this. This did not work.

I have tried deleting the image_pipeline package and reinstalling. I used the command "sudo apt install ros-melodic-image-pipeline" This did not work either.

I have verified that all of the packages build correctly in catkin using "catkin build"

Could anyone point me in the correct direction as to how I can begin to solve this problem?

Thank you for your time.

Asked by genmaster on 2022-04-14 01:36:23 UTC

Comments

Answers