pointgrey_camera_driver
pointgrey_camera_driver copied to clipboard
Stereo Mode Nodelet Crashes After Calibrator Subscribes to Two Topics
Hello, I am using two backfly cameras to obtain a stereo vision. After I succesfully launch pointgrey camera ros driver in stereo mode, I am able to view images on rqt_image_view. However, I cannot subscribe to /camera/left/image_raw and /camera/right/image_raw even from different nodes at the same time nor can I use the cameracalibrator.py to calibrate my cameras. As soon as something tries to subscribe to a second topic I get the following error:
[camera/right/camera_nodelet_manager-5] process has died [pid 7266, exit code -11, cmd /opt/ros/melodic/lib/nodelet/nodelet manager __name:=camera_nodelet_manager __log:=/home/segozcan/.ros/log/770928b8-f1c0-11ea-9a81-e45e373bedd1/camera-right-camera_nodelet_manager-5.log]. log file: /home/segozcan/.ros/log/770928b8-f1c0-11ea-9a81-e45e373bedd1/camera-right-camera_nodelet_manager-5*.log
The above mentioned log file is empty.
As a note, I would say my ROS skills are questionable.
I am having the same issue when trying to view stereo images on two PointGrey Flea3 cameras.
The first thing to try is allocating more memory to usbfs; see http://wiki.ros.org/pointgrey_camera_driver#Troubleshooting and https://www.flir.com/support-center/iis/machine-vision/application-note/understanding-usbfs-on-linux/. However, I tried this, and verified that /sys/module/usbcore/parameters/usbfs_memory_mb
was set to 1000, and I am still having this problem.
In addition, I see the log message:
kernel: nodelet[7756]: segfault at 0 ip 00007f52165df08e sp 00007f51e2e13298 error 4 in libflycapture.so.2[7f52164d8000+c6f000]