stereo_image_proc tutorial segmentation fault

asked 2022-04-14 11:28:42 -0500

genmaster gravatar image

Hello all,

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

I am trying to learn how to use the stereo_image_proc by going through the associated tutorial which is in this link:

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

ROS_NAMESPACE=narrow_stereo_textured rosrun stereo_image_proc stereo_image_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.

edit retag flag offensive close merge delete